Support std::error_code and std::error_condition

This commit is contained in:
Daniel James committed 2018-01-21 14:31:31 +00:00
1 parent f81ee167c5
commit 42bb81befa
4 files changed
+97 -3

No files matched your search

+13
View File
@@ -78,4 +78,17 @@ int main() {
std::cout << "BOOST_HASH_HAS_STRING_VIEW: "
<< BOOST_HASH_HAS_STRING_VIEW
<< std::endl;
#if defined(BOOST_NO_CXX11_HDR_TYPEINDEX)
std::cout << "No <typeindex>" << std::endl;
#else
std::cout << "<typeindex>" << std::endl;
#endif
#if defined(BOOST_NO_CXX11_HDR_SYSTEM_ERROR)
std::cout << "No <system_error>" << std::endl;
#else
std::cout << "<system_error>" << std::endl;
#endif
}