summaryrefslogtreecommitdiffstats
path: root/util/generic/string.h
Commit message (Collapse)AuthorAgeFilesLines
* Delegate TString / TStringBuf formatting to std::string_viewthegeorg2026-06-301-0/+6
| | | | commit_hash:7b0b23c3ee9ab21b0f3188134596016cb2e20daf
* Add Concat for arbitrary string typesvadim-xd2026-05-191-36/+40
| | | | commit_hash:b9f1c87173a18fb59f8cf684191efd4436dd6012
* TString::contains + tests, TStringBuf::contains tests, macro to enable EBOpechatnov2026-01-131-1/+2
| | | | commit_hash:221422cb861ba9db0ce508ea1114d3d44a5e37c7
* removing dangerous cast operatorermolovd2025-11-131-4/+6
| | | | commit_hash:44a5b05387723256ff3e098559780727e8b542e3
* no COW mode for TStringpg2025-09-091-0/+20
| | | | commit_hash:cac5390ad9d9bc5822ca2f6ebd362a55d4190759
* Move TCowString to librarymikhnenko2025-03-271-5/+3
| | | | commit_hash:a86d9f2d841389cbec73f6976d4a0f78fc152116
* Add assertions for range bounds validityakhropov2024-12-181-2/+3
| | | | commit_hash:4417c6200b3fc4e3e6e61648412d263366935fdf
* Remove std::nullptr_t ctor for TStringdgolear2024-12-091-2/+1
| | | | commit_hash:6b02e6cb83bde366477f7d53b6cd6c00bffdb4d6
* Remove methods Data, Size, Empty from TStringmikhnenko2024-11-061-0/+4
| | | | | | | If this pr has broken something, try using the methods named with a small letter \[nodiff:caesar\] commit_hash:c08a737938cff39577c6e47d4434531f6355e4c2
* Remove static method max_size from TStringmikhnenko2024-10-251-1/+1
| | | | commit_hash:c6fad0009855affb407cba47af8ea60ca834a890
* remove unused includes in util/generic/string.htobo2024-10-171-2/+1
| | | | commit_hash:edd5ed00db3a4c6090c535fa406f184268188733
* include singleton.h only if neededtobo2024-10-081-1/+3
| | | | | использование Singleton спрятано за #ifndef _LIBCPP_VERSION - прячем инклуд аналогично commit_hash:0f8b0d3bee5ac020dd26dcadddb41b28164f4022
* check lifetime bound of TString const iteratorsswarmer2024-10-041-8/+30
| | | | | | | | | ex: ``` auto it = TString{"temporary"}.cbegin(); use(*it); ``` commit_hash:68f621e7b2d608340d7b9f5a9a246c138a2eafff
* check lifetime bound of TString cast and Detach operatorsswarmer2024-09-281-3/+3
| | | | commit_hash:43fb3eff8779379efe5955f3f48cef3bf8e3a894
* check lifetime bound of TString modifier member functionsswarmer2024-09-261-69/+69
| | | | commit_hash:5e1acbf4a0eaeb2ff1b7648f90af6bc4f41312e2
* faster implicit `TString` → `const std::string&` conversion: using ↵swarmer2024-09-241-1/+2
| | | | | | | template operator TStringType& to deprioritize non-const method Converting a `TString` to a `const std::string&` should not cause data cloning. commit_hash:df425bd56f8517d882444e15f3cc586af92d90b3
* Disable cast to string& from TSring&&mikhnenko2024-09-231-1/+1
| | | | commit_hash:9d13cf8c2f490f6590afada455248339a63b6bf8
* FixNamespaceComments in /utildmasloff2024-09-051-1/+1
| | | | | FixNamespaceComments in /util bb9152570d7c258798644ead5a59f604de05ef3b
* Construct TStringBufs in TString::Join earliervadim-xd2024-04-241-5/+13
| | | | d1c15e5770c2a6a72226f3c4c76810231e4f9fe3
* Do not allow multiplication of TString and pointerkshalnev2024-02-141-0/+13
|
* check lifetime bounds of values returned from String's c_str(), data() methodsswarmer2024-02-011-16/+16
|
* Use a new empty string instead of NullStr when constructing TString from ↵vadim-xd2023-11-201-3/+4
| | | | TReserveTag or TUninitialized
* TString: improve `operator+` rvalue overloadsignatloskutov2023-08-101-2/+7
| | | | The missing `(TCharType, TBasicString&&)` overload added, so no allocation is performed if the string has spare capacity.
* Switch TString and TStringBase to std::reverse_iteratorthegeorg2022-08-211-1/+1
| | | At the time an attempt to use e. g. `std::find_if` with `TString::rbegin()` / `TString::rend()` does not compile against `-DUSE_STL_SYSTEM` / modern libstdc++.
* Mark clear and reset methods as reinitializing the object.halyavin2022-08-051-1/+2
| | | | | This means, that moved-from object can be safely used after the call of such method. This attribute is used by clang-tidy which checks that moved-from objects are not used unless a reinitialization method is called first.
* Add ydb changelogbazeltsev2022-07-111-0/+1
| | | updated
* IGNIETFERRO-1922 Move atomics from util to library/cpp/deprecatedeeight2022-06-151-1/+0
| | | | ref:0c3b0edd3284567c45ec77e57166274f3cfed8c7
* IGNIETFERRO-1105 -> Top level t-zeeight2022-06-091-1/+1
| | | | ref:e0e9801df5ee25dfbcfcb5974271dfd7dac8216c
* Restoring authorship annotation for <[email protected]>. Commit 2 ↵marat-khalili2022-02-101-1/+1
| | | | of 2.
* Restoring authorship annotation for <[email protected]>. Commit 1 ↵marat-khalili2022-02-101-1/+1
| | | | of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.daga2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.daga2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.dprokoptsev2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.dprokoptsev2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.iseg2022-02-101-5/+5
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.iseg2022-02-101-5/+5
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.suns2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.suns2022-02-101-1/+1
|
* Restoring authorship annotation for Alexey Salmin <[email protected]>. ↵Alexey Salmin2022-02-101-56/+56
| | | | Commit 2 of 2.
* Restoring authorship annotation for Alexey Salmin <[email protected]>. ↵Alexey Salmin2022-02-101-56/+56
| | | | Commit 1 of 2.
* Restoring authorship annotation for Oleg Sidorkin <[email protected]>. ↵Oleg Sidorkin2022-02-101-14/+14
| | | | Commit 2 of 2.
* Restoring authorship annotation for Oleg Sidorkin <[email protected]>. ↵Oleg Sidorkin2022-02-101-14/+14
| | | | Commit 1 of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.druxa2022-02-101-9/+9
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.druxa2022-02-101-9/+9
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.mowgli2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.mowgli2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.grickevich2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.grickevich2022-02-101-2/+2
|
* Restoring authorship annotation for Arslan Urtashev <[email protected]>. ↵Arslan Urtashev2022-02-101-23/+23
| | | | Commit 2 of 2.
* Restoring authorship annotation for Arslan Urtashev <[email protected]>. ↵Arslan Urtashev2022-02-101-23/+23
| | | | Commit 1 of 2.