Fix: Add missing begin() and end() member functions to alt_string
This commit is contained in:
1 parent
df33a90774
commit
763705c2a7
1 file changed
+4
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user