From 763705c2a7fca0dd3b6569e783403b917ee03b09 Mon Sep 17 00:00:00 2001 From: Julian Becker Date: Mon, 24 Sep 2018 19:29:39 +0200 Subject: [PATCH] Fix: Add missing `begin()` and `end()` member functions to `alt_string` --- test/src/unit-alt-string.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/src/unit-alt-string.cpp b/test/src/unit-alt-string.cpp index 356835c0..ba52d6a4 100644 --- a/test/src/unit-alt-string.cpp +++ b/test/src/unit-alt-string.cpp @@ -102,6 +102,10 @@ class alt_string str_impl.resize(n, c); } + auto begin() -> std::string::iterator { return str_impl.begin(); } + + auto end() -> std::string::iterator { return str_impl.end(); } + template bool operator<(const op_type& op) const {