aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/string/format_string.h
diff options
context:
space:
mode:
authorarkady-e1ppa <arkady-e1ppa@yandex-team.com>2024-11-18 14:48:05 +0300
committerarkady-e1ppa <arkady-e1ppa@yandex-team.com>2024-11-18 15:04:54 +0300
commit9e876c7c66440327e3bba353d37e99d68eabb0b9 (patch)
treeb7daabaa3386ab7b1a783fad91da2f014f9354e7 /library/cpp/yt/string/format_string.h
parent13bff9a72fbc1bd6a2643251982afcc3b4a7e93a (diff)
downloadydb-9e876c7c66440327e3bba353d37e99d68eabb0b9.tar.gz
YT-23435: Parse format string at compile time
commit_hash:804530d1ee861ff42d7d8cad25d9f569b4feaacf
Diffstat (limited to 'library/cpp/yt/string/format_string.h')
-rw-r--r--library/cpp/yt/string/format_string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/cpp/yt/string/format_string.h b/library/cpp/yt/string/format_string.h
index 786c2e39ed..1008ccb453 100644
--- a/library/cpp/yt/string/format_string.h
+++ b/library/cpp/yt/string/format_string.h
@@ -43,6 +43,10 @@ public:
static consteval void CheckFormattability();
+ // Data used for compile-time slicing of the format string.
+ NDetail::TFormatAnalyser::TMarkerLocations<TArgs...> Markers = {};
+ NDetail::TFormatAnalyser::TEscapeLocations Escapes = {};
+
private:
std::string_view Format_;