[Bug libstdc++/56785] std::tuple of two elements does not apply empty base class optimization when one of its elements is a std::tuple with two elements
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jan 17 00:22:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56785
--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Sat Jan 17 00:21:41 2015
New Revision: 219785
URL: https://gcc.gnu.org/viewcvs?rev=219785&root=gcc&view=rev
Log:
PR libstdc++/56785
* include/std/tuple (_Tuple_impl): Remove zero-element specialization
and define one-element specialization.
* testsuite/20_util/tuple/56785.cc: New.
Added:
trunk/libstdc++-v3/testsuite/20_util/tuple/56785.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/tuple
More information about the Gcc-bugs
mailing list