Document CATCH_CONFIG_CPP17_OPTIONAL macro

This commit is contained in:
Martin Hořeňovský 2019-07-26 21:35:35 +02:00
parent 62b3f6c3c2
commit 91244d30a7
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -128,7 +128,8 @@ Catch's selection, by defining either `CATCH_CONFIG_CPP11_TO_STRING` or
CATCH_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS // Use std::uncaught_exceptions instead of std::uncaught_exception
CATCH_CONFIG_CPP17_STRING_VIEW // Provide StringMaker specialization for std::string_view
CATCH_CONFIG_CPP17_VARIANT // Override C++17 detection for CATCH_CONFIG_ENABLE_VARIANT_STRINGMAKER
CATCH_CONFIG_CPP17_VARIANT // Override std::variant support detection (checked by CATCH_CONFIG_ENABLE_VARIANT_STRINGMAKER)
CATCH_CONFIG_CPP17_OPTIONAL // Override std::optional support detection (checked by CATCH_CONFIG_ENABLE_OPTIONAL_STRINGMAKER)
Catch contains basic compiler/standard detection and attempts to use
some C++17 features whenever appropriate. This automatic detection