From 3dfcaf3f1079e04817257d7216c5651d5c11fbfe Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Fri, 17 Nov 2023 14:57:06 +0100 Subject: [PATCH] string: add std_locale_C Signed-off-by: Simon Rozman --- include/stdex/string.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/stdex/string.hpp b/include/stdex/string.hpp index d5b990838..d78118087 100644 --- a/include/stdex/string.hpp +++ b/include/stdex/string.hpp @@ -247,6 +247,11 @@ namespace stdex return z; } + /// + /// Reusable standard C++ C-locale + /// + const inline std::locale std_locale_C("C"); + /// /// Find a code unit in a string case-insensitive ///