diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-10-17 12:06:14 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-10-17 12:06:14 +0800 |
commit | 32aa6f116acc6e3e20a1ec76cef45b29f7005ad7 (patch) | |
tree | 892b71060a88b58d9293d78033000b05818783df /src/base/StringUtil.cpp | |
parent | faf77949e19dc0d01f75bf8abb783eda70328048 (diff) | |
download | cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.tar.gz cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.tar.bz2 cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.zip |
Remove String stage 1.
Diffstat (limited to 'src/base/StringUtil.cpp')
-rw-r--r-- | src/base/StringUtil.cpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/base/StringUtil.cpp b/src/base/StringUtil.cpp index 42aea114..4e622dab 100644 --- a/src/base/StringUtil.cpp +++ b/src/base/StringUtil.cpp @@ -317,4 +317,42 @@ Utf8CodePointIterator CreateUtf8Iterator(const std::vector<std::byte>& buffer) { return CreateUtf8Iterator(buffer.data(), buffer.size()); } +CodePoint Utf8NextCodePoint(std::string_view str, Index current, + Index* next_position) { + NotImplemented(); +} + +CodePoint Utf8PreviousCodePoint(std::string_view str, Index current, + Index* next_position) { + NotImplemented(); +} + +// Return position after the character making predicate returns true or 0 if no +// character doing so. +Index Utf8BackwardUntil(std::string_view str, Index position, + const std::function<bool(CodePoint)>& predicate) { + NotImplemented(); +} + +// Return position before the character making predicate returns true or +// str.size() if no character doing so. +Index Utf8ForwardUntil(std::string_view str, Index position, + const std::function<bool(CodePoint)>& predicate) { + NotImplemented(); +} + +bool Utf8IsValidInsertPosition(std::string_view str, Index position) { + NotImplemented(); +} + +Index Utf8PreviousWord(std::string_view str, Index position, + bool* is_space) { + NotImplemented(); +} + +Index Utf8NextWord(std::string_view str, Index position, + bool* is_space) { + NotImplemented(); +} + } // namespace cru |