This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: PR 31426: TR1 and the Experimental C++0x Mode



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


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