This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67844] [6 Regression] Cannot make tuple of class with template constructor
- From: "ville at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Oct 2015 09:57:53 +0000
- Subject: [Bug c++/67844] [6 Regression] Cannot make tuple of class with template constructor
- Auto-submitted: auto-generated
- References: <bug-67844-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67844
--- Comment #5 from ville at gcc dot gnu.org ---
Author: ville
Date: Mon Oct 5 09:57:20 2015
New Revision: 228468
URL: https://gcc.gnu.org/viewcvs?rev=228468&root=gcc&view=rev
Log:
2015-10-05 Ville Voutilainen <ville.voutilainen@gmail.com>
PR 67844.
* include/std/tuple (_TC::_NonNestedTuple): Eagerly reject
conversions from tuple types same as the target tuple.
* testsuite/20_util/tuple/67844.cc: New.
* testsuite/20_util/tuple/cons/nested_tuple_construct.cc: Add
a missing copyright header.
Added:
trunk/libstdc++-v3/testsuite/20_util/tuple/67844.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/tuple
trunk/libstdc++-v3/testsuite/20_util/tuple/cons/nested_tuple_construct.cc