[libstd++] current tuple ebco patch

Paolo Carlini pcarlini@suse.de
Sun Dec 9 20:53:00 GMT 2007


Chris Fairles wrote:
> Ok, I can't recall how the tr1<->std namespace selection works.
>
> With type_traits, tr1_impl/type_traits has the common elements,
> std/type_traits has the c++0x additions only, tr1/type_traits
> implements tr1-only (less the common stuff) and the
> tr1_impl/type_traits's namespace is selected based on the -std flag?
>   
Exactly, everything is actually rather simple.
> Can the code in tr1 use variadic templates? If not, does that mean we
> need a tuple impl w/o var-templates?
>   
No, no, as you can see, tr1 *already* uses variadic templates everywhere...

Paolo.



More information about the Libstdc++ mailing list