r236025 - in /trunk/libstdc++-v3: ChangeLog inc...
ville@gcc.gnu.org
ville@gcc.gnu.org
Mon May 9 11:03:00 GMT 2016
Author: ville
Date: Mon May 9 11:03:36 2016
New Revision: 236025
URL: https://gcc.gnu.org/viewcvs?rev=236025&root=gcc&view=rev
Log:
Avoid endless run-time recursion for copying single-element
tuples where the element type is by-value constructible
from any type.
* include/std/tuple (_NotSameTuple): New.
* include/std/tuple (tuple(_UElements&&...): Use it.
* testsuite/20_util/tuple/cons/element_accepts_anything_byval.cc: New.
Added:
trunk/libstdc++-v3/testsuite/20_util/tuple/cons/element_accepts_anything_byval.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/tuple
More information about the Gcc-cvs
mailing list