summaryrefslogtreecommitdiffstats
path: root/util/string/split.h
Commit message (Collapse)AuthorAgeFilesLines
* Avoid constructing ill-formed `std::basic_string_view<const char>`borman2025-10-271-5/+5
| | | | | | | | Since libc++19, only `std::char_traits<char>` is defined: https://github.com/llvm/llvm-project/commit/e30a148b098d462d0267c479cd9e4783363c2761 This makes usage of `std::char_traits<const char>`, `std::char_traits<unsigned char>`, etc invalid. C++20 deduction guides are now used to infer proper `Char` type; while also avoiding being overly specific with `type_traits`. commit_hash:c5ffaef9ef1c8b462d2fdf0e080a43d5cd4c4ca7
* StringSplitter: splitting an empty string should always produce exactly one ↵swarmer2025-10-221-4/+30
| | | | | | | | token Previously, the split operation would produce incorrect results if the bound of the user-provided string overlaps with the address of a default-constructed string. Introduce a sentinel value to ensure that such overlap are no longer possible. Use additional boolean flag to check for the similar problem in the iterator-based version of algorithm. commit_hash:6590787dc4c0319375efa3630a7146e31eed5e89
* Part of PR. Stylenae2022024-11-201-2/+4
| | | | | Часть большого ПР REVIEW:7264088 commit_hash:0f5b03fbbed0ac30f734943309e3ef5cd4d7a30e
* StringSplitter: recreate State after copyswarmer2024-10-161-0/+32
| | | | commit_hash:75f3a4a20b797f07c51c63b96f0f1e1374707f33
* FixNamespaceComments in /utildmasloff2024-09-051-3/+3
| | | | | FixNamespaceComments in /util bb9152570d7c258798644ead5a59f604de05ef3b
* Set SpacesInLineCommentPrefix to 1 in /utildmasloff2024-08-171-2/+2
| | | | | Set SpacesInLineCommentPrefix to 1 in /util 3853f9ec5143722c1bebd8dc0ffc9b61a6c17657
* TSplitRange::Count fixprout2023-11-021-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.andr-savel2022-02-101-15/+15
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.andr-savel2022-02-101-15/+15
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.fippo2022-02-101-13/+13
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.fippo2022-02-101-13/+13
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.tender-bum2022-02-101-6/+6
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.tender-bum2022-02-101-6/+6
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.putilin2022-02-101-15/+15
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.putilin2022-02-101-15/+15
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.kaa2022-02-101-15/+15
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.kaa2022-02-101-15/+15
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.kimkim2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.kimkim2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.pozhilov2022-02-101-12/+12
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.pozhilov2022-02-101-12/+12
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.finder2022-02-101-3/+3
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.finder2022-02-101-3/+3
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.manavrion2022-02-101-18/+18
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.manavrion2022-02-101-18/+18
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.dobrokot2022-02-101-3/+3
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.dobrokot2022-02-101-3/+3
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.melkov2022-02-101-8/+8
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.melkov2022-02-101-8/+8
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.nga2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.nga2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.ermolovd2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.ermolovd2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.antonovvk2022-02-101-37/+37
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.antonovvk2022-02-101-37/+37
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.axc2022-02-101-3/+3
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.axc2022-02-101-3/+3
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.denplusplus2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.denplusplus2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.tobo2022-02-101-3/+3
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.tobo2022-02-101-3/+3
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.petrk2022-02-101-5/+5
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.petrk2022-02-101-5/+5
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.yazevnul2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.yazevnul2022-02-101-1/+1
|
* Restoring authorship annotation for Ruslan Kovalev ↵Ruslan Kovalev2022-02-101-1/+1
| | | | <[email protected]>. Commit 2 of 2.
* Restoring authorship annotation for Ruslan Kovalev ↵Ruslan Kovalev2022-02-101-1/+1
| | | | <[email protected]>. Commit 1 of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.swarmer2022-02-101-11/+11
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.swarmer2022-02-101-11/+11
|
* Restoring authorship annotation for Vlad Yaroslavlev <[email protected]>. ↵Vlad Yaroslavlev2022-02-101-13/+13
| | | | Commit 2 of 2.