diff options
author | pkalinnikov <pkalinnikov@yandex-team.ru> | 2022-02-10 16:50:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:15 +0300 |
commit | d507a9366b2ab84411afe63fea9fba5498891e1b (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/string/escape.h | |
parent | 9e33e026829d561d6fd46d72b88c367952e08075 (diff) | |
download | ydb-d507a9366b2ab84411afe63fea9fba5498891e1b.tar.gz |
Restoring authorship annotation for <pkalinnikov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/string/escape.h')
-rw-r--r-- | util/string/escape.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/util/string/escape.h b/util/string/escape.h index 9ab9cf574d..b01be65b0e 100644 --- a/util/string/escape.h +++ b/util/string/escape.h @@ -61,10 +61,10 @@ TUtf16String& UnescapeC(const TWtringBuf str, TUtf16String& res); TString UnescapeC(const TStringBuf str); TUtf16String UnescapeC(const TWtringBuf wtr); - -/// Returns number of chars in escape sequence. -/// - 0, if begin >= end -/// - 1, if [begin, end) starts with an unescaped char -/// - at least 2 (including '\'), if [begin, end) starts with an escaped symbol -template <class TChar> -size_t UnescapeCCharLen(const TChar* begin, const TChar* end); + +/// Returns number of chars in escape sequence. +/// - 0, if begin >= end +/// - 1, if [begin, end) starts with an unescaped char +/// - at least 2 (including '\'), if [begin, end) starts with an escaped symbol +template <class TChar> +size_t UnescapeCCharLen(const TChar* begin, const TChar* end); |