diff options
author | iseg <iseg@yandex-team.ru> | 2022-02-10 16:49:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:39 +0300 |
commit | f828a15ab90e9ca8e848f83caf95c95f06be46e7 (patch) | |
tree | de25241f7ec727b05ff1e5b9e1336f567f788a44 /util/generic/string.h | |
parent | 8124e2bb214b063687e0d77c900150c727e16782 (diff) | |
download | ydb-f828a15ab90e9ca8e848f83caf95c95f06be46e7.tar.gz |
Restoring authorship annotation for <iseg@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/string.h')
-rw-r--r-- | util/generic/string.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/generic/string.h b/util/generic/string.h index 8cd8aa6917..685bd1febc 100644 --- a/util/generic/string.h +++ b/util/generic/string.h @@ -19,7 +19,7 @@ #include "strbase.h" #include "strbuf.h" #include "string_hash.h" - + #if defined(address_sanitizer_enabled) || defined(thread_sanitizer_enabled) #include "hide_ptr.h" #endif @@ -306,7 +306,7 @@ public: return ConstRef().c_str(); } - // ~~~ STL compatible method to obtain data pointer ~~~ + // ~~~ STL compatible method to obtain data pointer ~~~ iterator begin() { return &*MutRef().begin(); } @@ -314,7 +314,7 @@ public: iterator vend() { return &*MutRef().end(); } - + reverse_iterator rbegin() { return reverse_iterator(vend()); } @@ -1092,7 +1092,7 @@ public: return *this; } - + TBasicString& replace(size_t pos, size_t n, const TCharType* s, size_t len) Y_NOEXCEPT { MutRef().replace(pos, n, s, len); @@ -1116,7 +1116,7 @@ public: return *this; } - + void swap(TBasicString& s) noexcept { #ifdef TSTRING_IS_STD_STRING std::swap(Storage_, s.Storage_); |