string: add indirection operator for tokeniser::iterator
This commit is contained in:
parent
bfa5700df0
commit
5028de600a
@ -83,6 +83,11 @@ namespace util {
|
|||||||
return m_range;
|
return m_range;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const range_type* operator-> (void) const
|
||||||
|
{
|
||||||
|
return &m_range;
|
||||||
|
}
|
||||||
|
|
||||||
bool operator== (const iterator &rhs) const
|
bool operator== (const iterator &rhs) const
|
||||||
{
|
{
|
||||||
return m_range == rhs.m_range && m_separator == rhs.m_separator;
|
return m_range == rhs.m_range && m_separator == rhs.m_separator;
|
||||||
|
Loading…
Reference in New Issue
Block a user