[c++0x] _Tuple_impl and typename reference_wrapper<T>::type&&

Peter Dimov pdimov@mmltd.net
Thu Feb 14 23:15:00 GMT 2008


Pedro Lamarão:

...

> class A {
> public:
>
>        template <typename T>
>        explicit
>        A (typename std::remove_reference<T>::type&&) { }
>
> };

I think that this constructor is uncallable. remove_reference<T>::type&& is 
a nondeduced context, and there is no way to supply T explicitly. 



More information about the Libstdc++ mailing list