summaryrefslogtreecommitdiff
path: root/libcxx/test/std/strings/string.view/string.view.ops/subview.pass.cpp
AgeCommit message (Collapse)Author
2025-09-25[libc++][string] P3044R2: sub-`string_view` from `string` (#147095)Hristo Hristov
Implements [P3044R2](https://wg21.link/P3044R2) Note: `substr.pass.cpp` is refactored to accommodate the test of `basic_string_view`'s `subview` which is an alias of `substr` without changing the test cases. Closes #148140 # References - https://github.com/cplusplus/draft/pull/7975 - https://wg21.link/string.substr - https://wg21.link/string.view.ops --------- Co-authored-by: Hristo Hristov <zingam@outlook.com> Co-authored-by: Nikolas Klauser <nikolasklauser@berlin.de>