From 91244d30a700bf8deb4a3d81902b22062b87bd38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Fri, 26 Jul 2019 21:35:35 +0200 Subject: [PATCH] Document CATCH_CONFIG_CPP17_OPTIONAL macro --- docs/configuration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index 419af2d8..4d0d6531 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -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