ANSI C++ changes revisited

Peter.Vanroose at esat.kuleuven.ac.be Peter.Vanroose at esat.kuleuven.ac.be
Thu Apr 27 17:07:48 EDT 2000


> so why don't do the real thing:
>
> #ifndef NO_STD_COMPILER
> myfunc(std::ostream& pOs){
> #else
> myfunc(ostream& pOs) {
> #endif

That would be lots of hassle for no reason: you don't need this #ifdef in any (user) file,
just in one single file is enough.  You only need to include that single file in all files.


--	Peter Vanroose.
--------------------------------------------------------------------
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