This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/19373] Including STL headers in a namespace doesn't compile


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]