mirror of
https://github.com/boostorg/variant2.git
synced 2025-07-30 04:07:16 +02:00
Libc++ doesn't implement a primary std::hash template under C++11
This commit is contained in:
@ -63,7 +63,7 @@ int main()
|
|||||||
test2<boost::hash, int>();
|
test2<boost::hash, int>();
|
||||||
test2<boost::hash, float>();
|
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> ));
|
BOOST_TEST_TRAIT_FALSE(( detail::is_hash_enabled<X> ));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user