c++0x vs. tr1 type_traits, round 1

Paolo Carlini pcarlini@suse.de
Thu Apr 26 16:49:00 GMT 2007


Hi Doug,

and, first, thanks a lot for your help.

>Now, this does mean that headers in tr1_impl won't really be able to
>include other headers without doing the dance Benjamin was talking
>about:
>
>// in include/tr1_impl/functional:
>
>#if defined(_GLIBCXX_INCLUDE_AS_CXX0X)
>#  include <type_traits>
>#else
>#  include <tr1/type_traits>
>#endif
>  
>
before any other comment (first blush, your proposal seems indeed very 
reasonable) I want to say that the above "dance", emphasized by both 
Benjamin and you, strikes me as *completely* expected.

Paolo.



More information about the Libstdc++ mailing list