ANSI C++ changes revisited

Eric Chamberland Eric.Chamberland at giref.ulaval.ca
Thu Apr 27 15:20:05 EDT 2000


Hi again,

so why don't do the real thing:

#ifndef NO_STD_COMPILER
myfunc(std::ostream& pOs){
#else
myfunc(ostream& pOs) {
#endif

This way, everything works...  But it is more work ans a bit less
readable... but you don't pollute the global scope...

I don't feel good with the fact that people who do use a ISO C++
compiler will have to suffer global scope pollution...

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