diff --git a/include/boost/bind/detail/result_traits.hpp b/include/boost/bind/detail/result_traits.hpp index dedc668..f8de9cd 100644 --- a/include/boost/bind/detail/result_traits.hpp +++ b/include/boost/bind/detail/result_traits.hpp @@ -142,6 +142,12 @@ template struct result_traits< unspecified, std::bit_xor > typedef T type; }; +#if defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION < 40900 + +// libstdc++ 4.8 and below don't have std::bit_not + +#else + template struct result_traits< unspecified, std::bit_not > { typedef T type; @@ -149,6 +155,8 @@ template struct result_traits< unspecified, std::bit_not > #endif +#endif + } // namespace _bi } // namespace boost