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: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs