------- 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