--- Comment #2 from cjoldfield at gmail dot com 2010-05-25 17:09 ---
Intel 11.1 accepts it, but it doesn't even try to instantiate "one &f(...)".
To see what I mean, try replacing main with:
#include
int main()
{
std::cout << sizeof(f(0)) << std::e
: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cjoldfield at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44267
--- Comment #2 from cjoldfield at gmail dot com 2010-05-22 17:33 ---
*** Bug 44243 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44239
--- Comment #1 from cjoldfield at gmail dot com 2010-05-22 17:33 ---
*** This bug has been marked as a duplicate of 44239 ***
--
cjoldfield at gmail dot com changed:
What|Removed |Added
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cjoldfield at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44243
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cjoldfield at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44239