diff --git a/test/bind_cpp20_test.cpp b/test/bind_cpp20_test.cpp index dd236cd..b5769e8 100644 --- a/test/bind_cpp20_test.cpp +++ b/test/bind_cpp20_test.cpp @@ -4,6 +4,8 @@ #include #include +#include +#include #include // @@ -28,9 +30,13 @@ int main() BOOST_TEST_EQ( boost::bind( std::logical_or(), 1, 2 )(), true ); BOOST_TEST_EQ( boost::bind( std::logical_not(), 1 )(), false ); +#if !BOOST_WORKAROUND(BOOST_MSVC, < 1600) + BOOST_TEST_EQ( boost::bind( std::bit_and(), 1, 2 )(), 0 ); BOOST_TEST_EQ( boost::bind( std::bit_or(), 1, 2 )(), 3 ); BOOST_TEST_EQ( boost::bind( std::bit_xor(), 1, 2 )(), 3 ); +#endif + return boost::report_errors(); }