[Bug c++/69958] sizeof... computes wrong size

2016-02-26 Thread yanikibo at yandex dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69958 --- Comment #3 from Ibrahim Gokhan YANIKLAR --- *** Bug 69978 has been marked as a duplicate of this bug. ***

[Bug c++/69978] Invalid sizeof... value for variadic template arguments

2016-02-26 Thread yanikibo at yandex dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69978 Ibrahim Gokhan YANIKLAR changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--

[Bug c++/69958] sizeof... computes wrong size

2016-02-26 Thread yanikibo at yandex dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69958 Ibrahim Gokhan YANIKLAR changed: What|Removed |Added CC||yanikibo at yandex dot com

[Bug c++/69978] Invalid sizeof... value for variadic template arguments

2016-02-26 Thread yanikibo at yandex dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69978 --- Comment #2 from Ibrahim Gokhan YANIKLAR --- template < class T, class U, class... TL > void goo( T, U, TL... ) { std::cout << (B::value) << std::endl; std::cout << (D::value) << std::endl; std::cout << (C< B >::type::value << std:

[Bug c++/69978] New: Invalid sizeof... value for variadic template arguments

2016-02-26 Thread yanikibo at yandex dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: yanikibo at yandex dot com Target Milestone: --- #include #include template < std::size_t N > struct A { enum : std::size_t { value = N }; }; template < class... TL > using B