PR 31426: TR1 and the Experimental C++0x Mode
Doug Gregor
dgregor@cs.indiana.edu
Thu Apr 5 15:39:00 GMT 2007
On Apr 5, 2007, at 11:05 AM, Doug Gregor wrote:
> (1) Namespace alias: in each of the tr1/ headers, include the
> header <tr1/import.h> shown below:
>
> #ifndef _TR1_IMPORT
> #define _TR1_IMPORT 1
>
> #ifdef __GXX_EXPERIMENTAL_CXX0X__
> namespace std {
> namespace tr1 = __cxx200x;
> }
> #endif
>
> #endif
Looks like this solution doesn't even work. Looks like #2 is my
suggestion, by default :)
Cheers,
Doug
More information about the Libstdc++
mailing list