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] |
the below tries to implement rather literally Doug's suggestion for solving the coexistence problem of TR1 and C++0x headers, as discussed back in April. As part of it, <type_traits> is now a bit closer to the C++0x specifications, uses more front-end builtins, but more work is needed, here and elsewhere, just as a small example, is_signed / is_unsigned are different in C++0x. But all of that should be manageable in that framework, because, as the type_traits example shows, Doug's idea easily allow code reuse from tr1_impl.
Cool.
This looks good to me, modulo
_GLIBCXX_TR1_NAMESPACE_BEGIN shoud be _GLIBCXX_BEGIN_NAMESPACE_TR1
and similar for NAMESPACE_END.
I tested it against the behavior previously specified in: http://gcc.gnu.org/ml/libstdc++/2007-04/msg00177.html
Seems like everything we want to work passes: nice! I think it would be a good idea to add some kind of sanity test along these lines, but where/when I don't know.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |