From dbb305fa27baada32d29d6f8904bdc02ac494e13 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Wed, 25 Sep 2024 11:41:50 -0500 Subject: Add iterator to string api. --- include/fud_string.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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; union { -- cgit v1.2.3