1
0

doc: migrate all old doc

This commit is contained in:
2026-01-20 13:20:17 +08:00
parent 7a34057836
commit 4d9487813b
11 changed files with 437 additions and 401 deletions

View File

@@ -162,7 +162,7 @@ std::vector<std::u8string> split_owned(const std::u8string_view& strl, const std
All these overloads take a string view as the first argument representing the string need to be split.
The second argument is a string view representing the delimiter for splitting.
The first function #lazy_split returns a #LazySplit object that can be used in range-based for loops.
The first function #lazy_split returns a LazySplit object that can be used in range-based for loops.
This is lazy-computed and memory-efficient for large datasets.
The second function #split returns a vector of string views, which is memory-efficient
but the views are only valid as long as the original string remains valid.