public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "paolo at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/45228] [C++0x] Can't copy-construct "tuple<int,int,int>" from "const tuple<int,int,int>" rvalue Date: Tue, 10 Aug 2010 07:18:00 -0000 [thread overview] Message-ID: <20100810071805.2412.qmail@sourceware.org> (raw) In-Reply-To: <bug-45228-18795@http.gcc.gnu.org/bugzilla/> ------- Comment #7 from paolo at gcc dot gnu dot org 2010-08-10 07:18 ------- Subject: Bug 45228 Author: paolo Date: Tue Aug 10 07:17:44 2010 New Revision: 163049 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163049 Log: 2010-08-10 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/45228 * include/std/tuple (tuple<typename... _Elements>): Constrain converting constructors and assignment operators with sizeof...(_UElements) == sizeof...(_Elements). (tuple(tuple<_UElements...>&): Remove. (tuple<typename _T1>): Add. * testsuite/20_util/tuple/cons/45228.cc: New. * testsuite/20_util/tuple/cons/converting.cc: Likewise. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error line number. * include/std/tuple (_Tuple_impl<>::_Tuple_impl(const _Tuple_impl&)): Defaulted. * include/std/tuple (tuple<typename _T1, typename _T2> ::operator=(pair<_U1, _U2>&&)): Use forward. Added: trunk/libstdc++-v3/testsuite/20_util/tuple/cons/45228.cc trunk/libstdc++-v3/testsuite/20_util/tuple/cons/converting.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/std/tuple trunk/libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45228
next prev parent reply other threads:[~2010-08-10 7:18 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-08-07 20:03 [Bug libstdc++/45228] New: " jorrit at jorrit dot de 2010-08-07 20:25 ` [Bug libstdc++/45228] " jorrit at jorrit dot de 2010-08-07 22:19 ` [Bug libstdc++/45228] [C++0x] " paolo dot carlini at oracle dot com 2010-08-09 13:22 ` jason at redhat dot com 2010-08-09 13:31 ` paolo dot carlini at oracle dot com 2010-08-09 13:39 ` jason at redhat dot com 2010-08-09 13:45 ` paolo dot carlini at oracle dot com 2010-08-10 7:18 ` paolo at gcc dot gnu dot org [this message] 2010-08-10 7:23 ` paolo dot carlini at oracle dot com [not found] <bug-45228-4@http.gcc.gnu.org/bugzilla/> 2011-03-30 10:48 ` redi at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100810071805.2412.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).