[LLVMbugs] [Bug 13901] Can't declare member function with "F foo; " with F as function type if F is a template parameter
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Sep 23 20:56:44 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13901
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |richard-llvm at metafoo.co.uk
Resolution| |INVALID
--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-09-23 22:56:44 CDT ---
Your example almost exactly matches the example in [temp.arg.type]p3, which
says this is ill-formed:
"If a declaration acquires a function type through a type dependent on a
template-parameter and this causes a declaration that does not use the
syntactic form of a function declarator to have function type, the program is
ill-formed."
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list