Use Config macros for detecting C++17 headers

This commit is contained in:
Peter Dimov committed 2021-10-16 16:43:11 +03:00
1 parent e89fe04479
commit b201ff97a8
5 files changed
+50 -87

No files matched your search

+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