http://llvm.org/bugs/show_bug.cgi?id=13914
Bug #: 13914
Summary: In Obj-C++11 std::function doesn't add ARC decorators
in its template arguments
Product: clang
Version: 3.1
Platform: Macintosh
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++11
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
std::function<id (void)> f = ^(){ return @"test"; } fails to compile.
std::function<__strong id (void)> f = ^(){ return @"test"; } resolves the
issue, this seems like it should be done for me.
--
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