extent;string: return references in iterators
This commit is contained in:
parent
67c8c9c69c
commit
048cffaee7
@ -124,8 +124,8 @@ namespace util {
|
||||
{ ; }
|
||||
|
||||
|
||||
point<S,T> operator* () { return m_cursor; }
|
||||
point<S,T> operator* () const { return m_cursor; }
|
||||
point<S,T>& operator* () & { return m_cursor; }
|
||||
const point<S,T>& operator* () const & { return m_cursor; }
|
||||
|
||||
iterator& operator++ (void)&
|
||||
{
|
||||
|
@ -78,7 +78,7 @@ namespace util {
|
||||
return *this;
|
||||
}
|
||||
|
||||
range_type operator* (void) const
|
||||
const range_type& operator* (void) const
|
||||
{
|
||||
return m_range;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user