[Bug c++/19373] Including STL headers in a namespace doesn't compile
bkoz at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jan 11 22:49:00 GMT 2005
------- Additional Comments From bkoz at gcc dot gnu dot org 2005-01-11 22:49 -------
Gaby, your comment is funny! Made me laugh, since I just got out of my cast.
Just for reference, this is invalid because it would invalidate
17.4.1.1 - Library contents
requires std or std:: namespaces for library components
17.4.3.1.4 - Types [lib.extern.types]
ie std::size_t and ::size_t could no longer be equivalent.
It would also change standard-defined external linkage
17.4.3.1.3 - External linkage
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19373
More information about the Gcc-bugs
mailing list