STL in global or std namespace?
Martin v. Loewis
martin@mira.isdn.cs.tu-berlin.de
Wed Nov 24 14:17:00 GMT 1999
> IIRC, the hack is entirely in gcc, and libstdc++ hasn't got anything to
> say about it.
Not everything in libstdc++ is wrapped into namespace std, in gcc
2.95. Most notably, the iostreams are not. So if you activate
honor-std, conforming code (which might use std::cout) will not be
accepted anymore. So -fhonor-std is really for experimental code;
especially for people that use a better library.
Regards,
Martin
More information about the Libstdc++
mailing list