forked from boostorg/iterator
metrowerks fix for decrement()
[SVN r10997]
This commit is contained in:
@ -686,7 +686,11 @@ struct iterator_adaptor :
|
|||||||
self operator++(int) { self tmp(*this); ++*this; return tmp; }
|
self operator++(int) { self tmp(*this); ++*this; return tmp; }
|
||||||
|
|
||||||
self& operator--() {
|
self& operator--() {
|
||||||
|
#ifdef __MWERKS__
|
||||||
|
policies().decrement<Base>(iter());
|
||||||
|
#else
|
||||||
policies().decrement(iter());
|
policies().decrement(iter());
|
||||||
|
#endif
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user