[LLVMbugs] [Bug 13914] New: In Obj-C++11 std::function doesn't add ARC decorators in its template arguments

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 24 22:54:12 PDT 2012


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: unassignedclangbugs at nondot.org
        ReportedBy: joshuacweinberg at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list