string: define tokeniser::cbegin/cend
This commit is contained in:
parent
c15794d4b3
commit
61db3f969f
18
string.cpp
18
string.cpp
@ -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>
|
template <typename Iterator>
|
||||||
tokeniser<Iterator>::iterator::iterator (range_type _range, value_type _separator):
|
tokeniser<Iterator>::iterator::iterator (range_type _range, value_type _separator):
|
||||||
|
Loading…
Reference in New Issue
Block a user