Use Config macros for detecting C++17 headers

This commit is contained in:
Peter Dimov
2021-10-16 16:43:11 +03:00
parent e89fe04479
commit b201ff97a8
5 changed files with 50 additions and 87 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ int main()
#endif
generic_string_tests((std::string*) 0);
#if BOOST_HASH_HAS_STRING_VIEW
#if !defined(BOOST_NO_CXX17_HDR_STRING_VIEW)
generic_string_tests((std::string_view*) 0);
#endif