[Bug c++/72761] the "using" keyword has different behaviors
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jul 31 13:53:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72761
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to liwei from comment #0)
> // Code that cannot compile
> template <typename T>
> using Check = typename TCur::Layer template <T>;
This is not valid C++, maybe you meant:
using Check = typename TCur::template Layer<T>;
More information about the Gcc-bugs
mailing list