[Bug c++/61400] suffix return type doesn't work for template member functions with explict specialization
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 3 09:55:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61400
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Yichao Yu from comment #1)
> 2. The function used in decltype have to be explicitly specialized using at
> least one of the template parameter from the other function. (i.e. there
> won't be any error if I replace `decltype(a<i>())` with `decltype(a<0>())`
That has an explicit template argument list, that's not the same as "explicitly
specialized"
This was fixed a few days ago anyway.
*** This bug has been marked as a duplicate of bug 57543 ***
More information about the Gcc-bugs
mailing list