From 61db3f969fc9721b0608ca8f66b48556b825a790 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 21 Mar 2016 14:20:04 +1100 Subject: [PATCH] string: define tokeniser::cbegin/cend --- string.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/string.cpp b/string.cpp index 7a6c0d18..4601d1a6 100644 --- a/string.cpp +++ b/string.cpp @@ -64,6 +64,24 @@ tokeniser::cend (void) const } +//----------------------------------------------------------------------------- +template +typename tokeniser::iterator +tokeniser::begin (void) const +{ + return cbegin (); +} + + +//----------------------------------------------------------------------------- +template +typename tokeniser::iterator +tokeniser::end (void) const +{ + return cend (); +} + + /////////////////////////////////////////////////////////////////////////////// template tokeniser::iterator::iterator (range_type _range, value_type _separator):