summaryrefslogtreecommitdiff
path: root/source/fud_string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/fud_string.cpp')
-rw-r--r--source/fud_string.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/fud_string.cpp b/source/fud_string.cpp
index 57bf1e0..74742e1 100644
--- a/source/fud_string.cpp
+++ b/source/fud_string.cpp
@@ -287,6 +287,16 @@ String String::append(const String& rhs) const
return output;
}
+const utf8* String::begin() const
+{
+ return data();
+}
+
+const utf8* String::end() const
+{
+ return data() + size();
+}
+
bool StringView::nullTerminated() const
{
return m_data != nullptr && m_data[m_length] == '\0';