https://bugs.llvm.org/show_bug.cgi?id=36912
Bug ID: 36912
Summary: std::uncaught_exception should be deprecated in C++17
Product: libc++
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
std::uncaught_exception should be deprecated in C++17
References:
https://isocpp.org/files/papers/p0636r0.html#mods
http://en.cppreference.com/w/cpp/error/uncaught_exception
Current libstdc++ source:
_GLIBCXX17_DEPRECATED
bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));
Current libc++ source:
_LIBCPP_FUNC_VIS bool uncaught_exception() _NOEXCEPT;
There is a good reason why std::uncaught_exception() became obsoleted as soon
as the alternative appeared:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4152.pdf
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs