mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +02:00
The std lib unary/binary_function base classes are deprecated/removed from libcpp15.
Fixes https://github.com/boostorg/container_hash/issues/24.
This commit is contained in:
@ -168,4 +168,13 @@
|
||||
# define BOOST_NO_CXX14_HDR_SHARED_MUTEX
|
||||
#endif
|
||||
|
||||
#if _LIBCPP_VERSION >= 15000
|
||||
//
|
||||
// Unary function is now deprecated in C++11 and later:
|
||||
//
|
||||
#if __cplusplus >= 201103L
|
||||
#define BOOST_NO_CXX98_FUNCTION_BASE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// --- end ---
|
||||
|
Reference in New Issue
Block a user