------- Comment #5 from jason at redhat dot com 2010-08-09 13:38 ------- Subject: Re: [C++0x] Can't copy-construct "tuple<int,int,int>" from "const tuple<int,int,int>" rvalue
On 08/09/2010 09:31 AM, paolo dot carlini at oracle dot com wrote: > I'm also thinking that the weird constructor tuple(tuple<_UElements...>& > __in), > which has been suggested at the time by Peter Dimov, falls under the same > reasoning and should be removed, the actual issue sorted out elsewhere again > through SFINAE. Removed? To be clear, I was suggesting that you keep the constructor, just prevent it from being selected when the deduced parameter type is reference-related to the enclosing class. Jason -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45228