[Bug c++/65221] typedef-name identifier not resolved in static member instantiation
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jan 24 17:37:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65221
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-01-24
Ever confirmed|0 |1
Known to fail| |6.0
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Even doing this:
template< typename A >
struct X
{
using this_type = X<A>;
// typedef X<A> this_type;
static this_type inst;
};
template< typename A >
typename X<A>::thistype X<A>::inst;
Does not work. So configrmed.
More information about the Gcc-bugs
mailing list