Commit 763705c2 authored by Julian Becker's avatar Julian Becker

Fix: Add missing `begin()` and `end()` member functions to `alt_string`

parent df33a907
...@@ -102,6 +102,10 @@ class alt_string ...@@ -102,6 +102,10 @@ class alt_string
str_impl.resize(n, c); str_impl.resize(n, c);
} }
auto begin() -> std::string::iterator { return str_impl.begin(); }
auto end() -> std::string::iterator { return str_impl.end(); }
template <typename op_type> template <typename op_type>
bool operator<(const op_type& op) const bool operator<(const op_type& op) const
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment