[Bug libstdc++/51365] New: cannot use final empty class in std::tuple
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 30 19:22:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51365
Bug #: 51365
Summary: cannot use final empty class in std::tuple
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: redi@gcc.gnu.org
#include <tuple>
struct F final { };
std::tuple<F> t;
This should work. I don't know how to make it work without a compiler-assisted
is_final trait.
More information about the Gcc-bugs
mailing list