[LLVMbugs] [Bug 9044] New: Clang doesn't treat rvalue refs specially during deduction in a declarative context
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jan 24 18:31:07 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=9044
Summary: Clang doesn't treat rvalue refs specially during
deduction in a declarative context
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++0x
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: schaub.johannes at googlemail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Clang should accept the following
template<typename T>
void f(T&&);
template<>
void f(int&) { }
void (*fp)(int&) = &f;
Based on 14.8.2.5p10 of n3225.
--
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