Fix: Add missing begin()
and end()
member functions to alt_string
This commit is contained in:
parent
df33a90774
commit
763705c2a7
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue