Libc++ doesn't implement a primary std::hash template under C++11

This commit is contained in:
Peter Dimov
2020-01-11 06:31:45 +02:00
parent 1f05cdfb17
commit f6e2e78d7d

View File

@ -63,7 +63,7 @@ int main()
test2<boost::hash, int>();
test2<boost::hash, float>();
#if !BOOST_WORKAROUND(BOOST_MSVC, < 1910)
#if !BOOST_WORKAROUND(BOOST_MSVC, < 1910) && ( !defined(_LIBCPP_STD_VER) || _LIBCPP_STD_VER > 11 )
BOOST_TEST_TRAIT_FALSE(( detail::is_hash_enabled<X> ));