[Bug c++/61537] [4.9/4.10 Regression] template parameter lists wrongly detected on "struct" or "class" keyword on parameters
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 18 17:01:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61537
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-06-18
Summary|template parameter lists |[4.9/4.10 Regression]
|wrongly detected on |template parameter lists
|"struct" or "class" keyword |wrongly detected on
|on parameters |"struct" or "class" keyword
| |on parameters
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
struct Dummy
{};
template <typename T>
class Base
{
public: template< typename S>
void do_sth(S param, struct Dummy dummy);
};
template< typename T>
template< typename S>
//void Base<T>::do_sth(S param, Dummy) // working
void Base<T>::do_sth(S param, struct Dummy) // not working
{
}
More information about the Gcc-bugs
mailing list