Dinkumware: disable C++ 98 binders without adaptor typedefs

When building with MSVC in C++ 20 mode with `_HAS_AUTO_PTR_ETC`
explicitly enabled, `std:bind1st` and `std::bind2nd` are unavailable
unless `_HAS_DEPRECATED_ADAPTOR_TYPEDEFS` is also explicitly enabled.
This commit is contained in:
Marcel Raad
2023-01-21 14:04:19 +01:00
parent 42e1b11952
commit 1f4e789023

View File

@ -240,6 +240,8 @@
# define BOOST_NO_CXX98_RANDOM_SHUFFLE # define BOOST_NO_CXX98_RANDOM_SHUFFLE
# define BOOST_NO_CXX98_FUNCTION_BASE # define BOOST_NO_CXX98_FUNCTION_BASE
# define BOOST_NO_CXX98_BINDERS # define BOOST_NO_CXX98_BINDERS
# elif defined(_HAS_DEPRECATED_ADAPTOR_TYPEDEFS) && (_HAS_DEPRECATED_ADAPTOR_TYPEDEFS == 0)
# define BOOST_NO_CXX98_BINDERS
# endif # endif
#endif #endif
// //