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

           Summary: Return value of std::uncaught_exception
           Product: libc++
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Return value of std::uncaught_exception inside the terminate handler seems
inconsistent. When using an empty throw or throwing an std::runtime_error,
std::uncaught_exception returns true, but when throwing an int it returns
false.

I'm using :
$ clang++ --version
clang version 2.9 (tags/RELEASE_29/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix

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