[Bug c++/45225] gcc accepts ill-formed template code combining Variadic Templates and Partial specialization

2018-11-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45225 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/45225] gcc accepts ill-formed template code combining Variadic Templates and Partial specialization

2010-08-07 Thread boostcpp at gmail dot com
--- Comment #1 from boostcpp at gmail dot com 2010-08-07 12:18 --- I also noticed gcc accept this code. Should I create separate bug report? template typename ... Types class Foo { }; // Params is template parameter. template typename ... Types, typename Params class Foo typename

[Bug c++/45225] gcc accepts ill-formed template code combining Variadic Templates and Partial specialization

2010-08-07 Thread boostcpp at gmail dot com
--- Comment #2 from boostcpp at gmail dot com 2010-08-07 12:18 --- My bad. Never mind. (In reply to comment #1) I also noticed gcc accept this code. Should I create separate bug report? template typename ... Types class Foo { }; // Params is template parameter. template

[Bug c++/45225] gcc accepts ill-formed template code combining Variadic Templates and Partial specialization

2010-08-07 Thread boostcpp at gmail dot com
--- Comment #3 from boostcpp at gmail dot com 2010-08-07 12:25 --- Come to think of it, It just use primary template. If I don't write the difinition of primary template, gcc issues error. template typename ... Types class Foo ; But still, I think this template keyword usage in

[Bug c++/45225] gcc accepts ill-formed template code combining Variadic Templates and Partial specialization

2010-08-07 Thread boostcpp at gmail dot com
--- Comment #4 from boostcpp at gmail dot com 2010-08-07 14:17 --- It doesn't compile the following code which I think well-formed. #include tuple template typename ... Types class Foo ; template template typename ... class ... Types, typename ... Params class Foo