From a95e6257eaed03c12f67846a53d0ab4ce89efa9a Mon Sep 17 00:00:00 2001 From: David Dight Date: Tue, 30 Jul 2024 06:08:22 +0000 Subject: [PATCH] updated --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b2a4211..c99154e 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,7 @@ enum class numbers { zero, one, two, three, four, five, six, seven, eight, nine static constexpr std::string_view enum_to_string(T value, bool noscope=false); ``` Returns a `std::string_view` or empty if not found. Optionally passing `true` will remove scope in result if present. +`noscope` option ![](assets/notminimalred.svg). ```c++ auto name { conjure_enum::enum_to_string(component::path) }; auto name_trim { conjure_enum::enum_to_string(component::path, true) }; // optionally remove scope in result