Merge pull request #136 from mclow/patch-2

define BOOST_NO_AUTO_PTR when building with libc++ and C++17
This commit is contained in:
jzmaddock
2017-05-20 11:28:11 +01:00
committed by GitHub

View File

@ -91,6 +91,9 @@
#if (_LIBCPP_VERSION < 4000) || (__cplusplus <= 201402L)
# define BOOST_NO_CXX17_STD_APPLY
#endif
#if (_LIBCPP_VERSION > 4000) && (__cplusplus > 201402L) && !defined(_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR)
# define BOOST_NO_AUTO_PTR
#endif
#if (_LIBCPP_VERSION <= 1101) && !defined(BOOST_NO_CXX11_THREAD_LOCAL)
// This is a bit of a sledgehammer, because really it's just libc++abi that has no