This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61400] suffix return type doesn't work for template member functions with explict specialization
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Jun 2014 09:55:48 +0000
- Subject: [Bug c++/61400] suffix return type doesn't work for template member functions with explict specialization
- Auto-submitted: auto-generated
- References: <bug-61400-4 at http dot gcc dot gnu dot org/bugzilla/>
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 ***