diff --git a/octa/string.hh b/octa/string.hh index b41c1f6..e8877dd 100644 --- a/octa/string.hh +++ b/octa/string.hh @@ -248,6 +248,11 @@ public: return p_buf.capacity() - 1; } + octa::Size length() const { + /* TODO: unicode */ + return size(); + } + bool empty() const { return (size() == 0); } void push(T v) {