Add doc for _LIBCPP_ENABLE_CXX17_DISABLED_AUTO_PTR and make it work under _LIBCPP_ENABLE_CXX17_REMOVED_FEATURES
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@295407 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -188,5 +188,7 @@ C++17 Specific Configuration Macros
|
||||
|
||||
**_LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS**:
|
||||
This macro is used to re-enable the `set_unexpected`, `get_unexpected`, and
|
||||
`unexpected` functions, which were removed in C++17. Unless this macro is
|
||||
define those names will not be available in C++17.
|
||||
`unexpected` functions, which were removed in C++17.
|
||||
|
||||
**_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR**:
|
||||
This macro is used to re-enable `std::auto_ptr` in C++17.
|
||||
|
||||
Reference in New Issue
Block a user