http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55993
--- Comment #3 from Joshua Napoli 2013-01-15
18:44:10 UTC ---
The problem has to do with a completely empty struct being used twice
consecutively in the tuple type list. std::tuple inherits from A (by
inheriting _Head_base which inherits A
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55993
--- Comment #2 from Jonathan Wakely 2013-01-15
17:28:42 UTC ---
#include
struct A {};
constexpr auto t = std::make_tuple( A(), A() );
constexpr auto a = std::get<0>( t );
t.cc:4:35: error: accessing value of 't' through a 'const A' gl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55993
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|