ANSI C++ changes revisited

Bill Hoffman bill.hoffman at kitware.com
Thu Apr 27 15:15:02 EDT 2000


I just thought of something....

Your code that has endl in it can not work with the current VTK.
Until we made the Ansi C++ changes, all vtk .h files included 
the old iostream.h file which would have brought the global endl
into your namespace.

-Bill

At 02:58 PM 4/27/00 -0400, Eric Chamberland wrote:
>Hey!
>
>I do have problem with polution the global scope...
>
>If you want to do your "using std::*" in a source file, I don't mind,
>but in a header file... we will have problem (since we use some
>functions with the same name... like "endl"...).
>
>Eric

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list