diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-09-25 11:41:50 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-09-25 11:41:50 -0500 |
commit | dbb305fa27baada32d29d6f8904bdc02ac494e13 (patch) | |
tree | 982997034ad234f4d4e669b849ab6fb2c280bb21 /include | |
parent | 255fa256b106506e0c951f704314c5c633217468 (diff) |
Add iterator to string api.
Diffstat (limited to 'include')
-rw-r--r-- | include/fud_string.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/fud_string.hpp b/include/fud_string.hpp index f7e4813..97b7036 100644 --- a/include/fud_string.hpp +++ b/include/fud_string.hpp @@ -117,6 +117,10 @@ class String { [[nodiscard]] String append(const String& rhs) const; + const utf8* begin() const; + + const utf8* end() const; + private: using BufType = Array<utf8, SSO_BUF_SIZE>; union { |