[Bug c++/65308] [C++14] auto-returning function template used inside function template doesn't allow template members to be called
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 4 11:34:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65308
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-03-04
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It compiles OK if you change it to:
make_thing<int>().template func<int>();
which I would have thought is necessary, but EDG and Clang don't require it.
Maybe there's some defect report that changed whether the "template" keyword is
required there, and G++ doesn't implement that yet.
More information about the Gcc-bugs
mailing list