diff options
author | arkady-e1ppa <arkady-e1ppa@yandex-team.com> | 2024-11-18 14:48:05 +0300 |
---|---|---|
committer | arkady-e1ppa <arkady-e1ppa@yandex-team.com> | 2024-11-18 15:04:54 +0300 |
commit | 9e876c7c66440327e3bba353d37e99d68eabb0b9 (patch) | |
tree | b7daabaa3386ab7b1a783fad91da2f014f9354e7 /library/cpp/yt/string/format_string.h | |
parent | 13bff9a72fbc1bd6a2643251982afcc3b4a7e93a (diff) | |
download | ydb-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.h | 4 |
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_; |