git-svn-id: svn://db.shs.com.ru/pip@307 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -119,6 +119,8 @@ public:
|
||||
const_iterator(): parent(0), pos(0) {}
|
||||
const value_type operator *() const {return parent->_pair(pos);}
|
||||
const value_type* operator ->() const {cval = parent->_pair(pos); return &cval;}
|
||||
const Key & key() const {return const_cast<PIMap<Key, T> * >(parent)->_key(pos);}
|
||||
const T & value() const {return const_cast<PIMap<Key, T> * >(parent)->_value(pos);}
|
||||
void operator ++() {++pos;}
|
||||
void operator ++(int) {++pos;}
|
||||
void operator --() {--pos;}
|
||||
|
||||
Reference in New Issue
Block a user