string: define tokeniser::cbegin/cend

This commit is contained in:
Danny Robson 2016-03-21 14:20:04 +11:00
parent c15794d4b3
commit 61db3f969f

View File

@ -64,6 +64,24 @@ tokeniser<Iterator>::cend (void) const
}
//-----------------------------------------------------------------------------
template <typename Iterator>
typename tokeniser<Iterator>::iterator
tokeniser<Iterator>::begin (void) const
{
return cbegin ();
}
//-----------------------------------------------------------------------------
template <typename Iterator>
typename tokeniser<Iterator>::iterator
tokeniser<Iterator>::end (void) const
{
return cend ();
}
///////////////////////////////////////////////////////////////////////////////
template <typename Iterator>
tokeniser<Iterator>::iterator::iterator (range_type _range, value_type _separator):