This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26605] using + function templates troubles
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Mar 2006 09:38:08 -0000
- Subject: [Bug c++/26605] using + function templates troubles
- References: <bug-26605-133@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from pcarlini at suse dot de 2006-03-10 09:38 -------
I sent a message to the CWG reflector, and people kindly replied
(c++std-core-11367 to 11370). In a nutshell, 7.3.3/11 should be clarified for
function templates (a new issue has been opened), but apparently there is
consensus that Comment #1 below is invalid while Comment #0 is fine (because
the return types are different, and return types matter for function templates
[14.5.5.1p4]). However, the first snippet is actually the same issue of
c++/21682 and therefore I'm closing this one as duplicate.
*** This bug has been marked as a duplicate of 21682 ***
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26605