summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-25 11:41:50 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-25 11:41:50 -0500
commitdbb305fa27baada32d29d6f8904bdc02ac494e13 (patch)
tree982997034ad234f4d4e669b849ab6fb2c280bb21 /include
parent255fa256b106506e0c951f704314c5c633217468 (diff)
Add iterator to string api.
Diffstat (limited to 'include')
-rw-r--r--include/fud_string.hpp4
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 {