summaryrefslogtreecommitdiffstats
path: root/util/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* Replace Apply to std::applybulatman2024-08-091-7/+0
| | | | 33b149179bec674a6b0dc48dde27b7ff0b66efe7
* check the lifetime bounds of the explicit_type, the lazy_value, and the ↵swarmer2024-08-083-8/+8
| | | | | | queue containers 5f83506ef4fb80da806490df993e39a22d6c010a
* util: simpler implementation of the `EqualToOneOf` and `CountOf` algorithms ↵swarmer2024-08-081-16/+6
| | | | | | using the fold expression 62d55507536a408dd9c37a5497efaa0a1333cc6c
* check the lifetime bound of the MinMax algoswarmer2024-08-081-1/+1
| | | | fdef98a22a11016e54d3e0eadbebddce5f68e83d
* check the lifetime bound of the TArrayRefswarmer2024-08-081-8/+8
| | | | 9124a77116ef1ec2f8c14a3684fea08b4253601c
* Make Apply just alias to std::applybulatman2024-08-071-14/+2
| | | | d8970078eca52675e02aa3cb811e07f99ef5115a
* check the lifetime bound of the TStringBuf, constructed from a substring of ↵swarmer2024-08-071-2/+2
| | | | | | an another TStringBuf view 834bc8b5ef002eb217450def12b8887b071f3d5f
* check the lifetime bound of the TStringBuf, constructed from a TStringBuf ↵swarmer2024-08-071-2/+2
| | | | | | with different char-traits 8b52c36ebe25af42f8b0dae4d83fc067760600ba
* check the lifetime bound of the ptr-store-policyswarmer2024-08-071-2/+2
| | | | 143a81f1f8275b59d4a53b5978ec7777fc2e7b05
* check the lifetime bound of the yexceptionswarmer2024-08-071-3/+3
| | | | ef257805d160dd37ba7f8c65d1aad1f4040b223e
* check lifetime bounds of a TStringBuf constructed from pointersswarmer2024-07-271-3/+3
| | | | a64e291c4e9927286cc8f84fb9bb6b52d0da1345
* check the lifetime bounds of a TStringBuf constructed from a TString, if ↵swarmer2024-07-242-0/+24
| | | | | | TString is a std::string 04931f9cabff5a8b2a55ba25df5e3b546be4b745
* check lifetime bounds of TStringBuf constructed from std::stringswarmer2024-07-241-1/+3
| | | | b8ba3acb34e82c520e14aad6e491130963fcee55
* Enum range to utilchezzie2024-06-254-0/+311
| | | | | | | | | | | | Изолированный хидер, не должен ничего поломать Почему решил не завязываться и не расширять GENERATE_ENUM_SERIALIZATION[_WITH_HEADER): 1) Нет возможности добавлять метаданные для енамов объявленных в cpp 2) Нет возможности добавлять метаданные для енамов объявленных в anonymous namespace 3) Нет возможности использовать метаданные в том же хидере, где объявлен enum В первую очередь будет использован в библиотеке range_containers - https://a.yandex-team.ru/arcadia/market/library/range_containers/ 74cd8c66052608f1b6fec69c39cb0f868376fe0a
* [util] Check lifetime of the move-only type passed through the ↵swarmer2024-06-142-0/+34
| | | | | | TMaybe::GetOrElse method 03109df768118daa8c95e373de082712a2362407
* [util] Instantiation of TMaybe with an array type is ill-formedswarmer2024-06-141-0/+2
| | | | 69e5abfadd994602479be713abb69e2d6053734d
* Add TStringBuf constructor from TStringBuf with other char traitsvadim-xd2024-06-071-0/+6
| | | | e4ebd9ac2108f3fbc5ef852f3f7d733dd1a00fe8
* [util] do not instantiate the vector::resize_uninitialized method for ↵swarmer2024-05-091-8/+4
| | | | | | non-POD types f65acbd8a0dd649475720d2cf487bc63ecb8b284
* YT-21402: Adjust util's IntrusiveList to support more convenient use in ↵arkady-e1ppa2024-04-281-6/+27
| | | | | | | lockfree algorithms (and farewell SimpleIntrusiveList) Should be done 8a7cafa1f535df785680b70b488a2e4fbb46b1b0
* Construct TStringBufs in TString::Join earliervadim-xd2024-04-241-5/+13
| | | | d1c15e5770c2a6a72226f3c4c76810231e4f9fe3
* refactor in vectortema-m2024-04-141-3/+3
| | | | | some refactor in vector 2c11be2b50c10b1786950201317ef103cff8c79a
* Intermediate changesrobot-piglet2024-04-023-6/+0
|
* WebAssembly in utildtorilov2024-03-281-1/+1
| | | | b46c1e446c9d0f9393bf688b26db810f60add0f6
* [util] Handle the negative zero value in the NumericHashswarmer2024-03-221-0/+23
| | | | | Two equal numbers must produce the same hash value. 35bb6ef6de3ccbb3b5cacd09950a21063814b499
* update CPP_STYLE_TEST_14 to CPP_STYLE_TEST_16: ^utilionagamed2024-03-122-6/+7
| | | | f25fb42bc8bd1b7423721fa3a0f85ef2bb8f8d97
* Update libcxx to llvmorg-17.0.6hiddenpath2024-02-211-2/+2
| | | | | Update libcxx to llvmorg-17.0.6 c871ef572c71b4fef22d4a9e65bcebc57e625aea
* Use global ns for TFlagspetrk2024-02-201-4/+4
| | | | e2d4d0cc183a95092f8a3924a5992ba09b6dc670
* Do not allow multiplication of TString and pointerkshalnev2024-02-141-0/+13
|
* Intermediate changesrobot-piglet2024-02-141-10/+10
|
* TMaybe Monadic operationsnedaiborschd2024-02-022-0/+229
| | | | | Add monadic operations to TMaybe. Added methods: AndThen, OrElse, Transform.
* check lifetime bounds of values returned from String's c_str(), data() methodsswarmer2024-02-011-16/+16
|
* Add missed #include <type_traits>mikhnenko2024-01-301-0/+4
|
* [util] TSystemError: print raw error code along with the messagetldr2024-01-261-3/+5
| | | | | | На Windows сложно найти, какой ошибке соответствует конкретное сообщение, потому что сообщения даже разные в разных локалях. Полезно иметь сырой код ошибки, чтобы проще было понять, что была за ошибка
* Fix error in TArrayRef constructor for a container: Elements with a ↵akhropov2024-01-221-0/+3
| | | | different size should not be accepted even if they are convertible to TArrayRef value type.
* Library import 2 (#639)AlexSm2023-12-221-4/+5
|
* Intermediate changesrobot-piglet2023-12-172-70/+70
|
* detect dangling references in TMaybe objectswarmer2023-12-161-18/+18
|
* detect dangling references in MapFindPtr and utility helpersswarmer2023-12-152-11/+15
|
* Replace rep.erase with rep.erase_one in THashSet::erasenocomer2023-12-141-1/+1
|
* Introduce convenient _B literal for bytesthegeorg2023-12-131-0/+4
|
* [util] Store policy should preserve constructor's is_constructible traitswarmer2023-12-072-7/+34
| | | | Without constraints on the types of arguments, it is possible that creating an instance of `Policy<T>{}` leads to a compilation error, although immediately before that, checking `std::is_default_constructible_v<TPolicy<T>>` returned `true` value
* Use a new empty string instead of NullStr when constructing TString from ↵vadim-xd2023-11-201-3/+4
| | | | TReserveTag or TUninitialized
* Added HasFlag/Remove Flag for operations with one value, added HasAnyOfFlags.kshalnev2023-10-272-6/+29
|
* Y_FAIL->Y_ABORT at '^util'ilnurkh2023-10-172-2/+2
| | | | https://clubs.at.yandex-team.ru/arcadia/29404
* fix comment in utililnurkh2023-10-121-1/+1
|
* Y_VERIFY->Y_ABORT_UNLESS at ^uilnurkh2023-10-106-9/+9
| | | | https://clubs.at.yandex-team.ru/arcadia/29404
* Add global user-defined literal for TStringBufvadim-xd2023-10-072-0/+10
|
* aliases for checking macrosesilnurkh2023-10-062-7/+11
| | | | https://clubs.at.yandex-team.ru/arcadia/29404
* Add THashMultiMap::equal_range_i so new element could be emplaced after ↵osidorkin2023-09-152-0/+16
| | | | | | checking multiple elements with the given key withoute extra hashing По аналогии с find_i: хочется после проверки набора значений с данным ключом, вставить (или не вставлять) еще одно с тем же ключом. Добавляю метод, который позволит не считать хэш при вставке
* (no commit message)pg2023-08-201-8/+8
|