forked from boostorg/container_hash
Clean up header detection for more headers + add optional
This commit is contained in:
+9
-3
@@ -55,9 +55,6 @@ void write_compiler_info() {
|
||||
if (difference) {
|
||||
std::cout << "+" << difference << std::endl;
|
||||
}
|
||||
#if defined(_HAS_CXX17) && _HAS_CXX17
|
||||
std::cout << "C++17 mode" << std::endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
#else
|
||||
@@ -75,10 +72,19 @@ int main() {
|
||||
<< __cplusplus
|
||||
<< std::endl;
|
||||
#endif
|
||||
|
||||
std::cout << "BOOST_HASH_CXX17: "
|
||||
<< BOOST_HASH_CXX17
|
||||
<< std::endl;
|
||||
|
||||
std::cout << "BOOST_HASH_HAS_STRING_VIEW: "
|
||||
<< BOOST_HASH_HAS_STRING_VIEW
|
||||
<< std::endl;
|
||||
|
||||
std::cout << "BOOST_HASH_HAS_OPTIONAL: "
|
||||
<< BOOST_HASH_HAS_OPTIONAL
|
||||
<< std::endl;
|
||||
|
||||
#if defined(BOOST_NO_CXX11_HDR_TYPEINDEX)
|
||||
std::cout << "No <typeindex>" << std::endl;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user