Berkeley CSUA MOTD:Entry 26111
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/24 [General] UID:1000 Activity:popular
5/24    

2002/10/5 [Recreation/Dating] UID:26111 Activity:moderate
10/5    Any easy ways to ignore namespaces in gcc 3.2, that is to make std::
        part of :: without having to do invasive changes to your code?
        \_ "using namespace std;" ?
           \_ This falls down because hash_* is in __gnu_cxx.  I tried making
              another namespace, putting 'using namespace std; using namespace
              __gnu_cxx;', and then using that namespace but that didn't work
              either.  Sorry for not mentioning this earlier.
              \_ using namespace __gnu_cxx;
                 using namespace std;
                 alternatively:
                 namespace std
                 {
                   using namespace __gnu_cxx;
                 }
                 using namespace std;
        \_ why do you want to do this?