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

This commit is contained in:
Julian Becker 2018-09-24 19:29:39 +02:00
parent df33a90774
commit 763705c2a7

View file

@ -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
{ {