http://llvm.org/bugs/show_bug.cgi?id=12834

             Bug #: 12834
           Summary: libc++ functions as first class fails (namely
                    std::string)
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


This example:

#include <string>

int main()
{
 void (std::string::*f)() = &std::string::clear;
}

Fails to link in ToT Clang and libcxx (as of 5/14/2012).  Other function
pointers I tried seem to work fine, including function pointers of class
methods, but reaching into std::string to get refer to its methods causes the
problem.

-- 
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

Reply via email to