Add new macro BOOST_NO_CXX17_HDR_OPTIONAL.

Fixes: https://github.com/boostorg/config/issues/236.
This commit is contained in:
jzmaddock
2018-08-04 19:21:21 +01:00
parent ec3318d47a
commit 5364a2e8a7
15 changed files with 144 additions and 5 deletions
+1
View File
@@ -89,6 +89,7 @@
// C++17 features
#if (_LIBCPP_VERSION < 4000) || (__cplusplus <= 201402L)
# define BOOST_NO_CXX17_STD_APPLY
# define BOOST_NO_CXX17_HDR_OPTIONAL
#endif
#if (_LIBCPP_VERSION > 4000) && (__cplusplus > 201402L) && !defined(_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR)
# define BOOST_NO_AUTO_PTR