[llvm-bugs] [Bug 36912] New: std::uncaught_exception should be deprecated in C++17
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Mar 26 13:56:49 PDT 2018
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: unassignedclangbugs at nondot.org
Reporter: plroskin at gmail.com
CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180326/a3b62eaa/attachment.html>
More information about the llvm-bugs
mailing list