This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libstdc++/45228] [C++0x] Can't copy-construct "tuple<int,int,int>" from "const tuple<int,int,int>" rvalue



------- Comment #6 from paolo dot carlini at oracle dot com  2010-08-09 13:44 -------
Note the specific constructor I mentioned:

  // XXX http://gcc.gnu.org/ml/libstdc++/2008-02/msg00047.html
  template<typename... _UElements>
    tuple(tuple<_UElements...>& __in)

we are *not* talking there about any of the constructors part of the user
interface, we are talking about a constructor added only for the purpose of
getting right special cases (having to do with cc qualifiers, conversions)
without resorting to SFINAE. I think we should be able to uniformly use *only*
constraining on the user visible constructors, for this issue too. Agreed?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45228


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]