From d017f6d18fcdb76d7d1b1527b06d6631d92eaf77 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:40:58 +0200 Subject: [PATCH] Document CATCH_CONFIG_CPP17_BYTE macro Leftover from #1686 --- docs/configuration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index 4d0d6531..0108bdcd 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -127,9 +127,10 @@ Catch's selection, by defining either `CATCH_CONFIG_CPP11_TO_STRING` or ## C++17 toggles 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_STRING_VIEW // Override std::string_view support detection(Catch provides a StringMaker specialization by default) 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_CONFIG_CPP17_BYTE // Override std::byte support detection (Catch provides a StringMaker specialization by default) Catch contains basic compiler/standard detection and attempts to use some C++17 features whenever appropriate. This automatic detection