mirror of
https://github.com/boostorg/coroutine2.git
synced 2026-02-13 12:22:33 +00:00
delete iteratos's post increment op.
This commit is contained in:
@@ -123,11 +123,7 @@ public:
|
||||
return * this;
|
||||
}
|
||||
|
||||
iterator operator++( int) {
|
||||
iterator tmp( * this);
|
||||
++*this;
|
||||
return tmp;
|
||||
}
|
||||
iterator operator++( int) = delete;
|
||||
|
||||
reference_t operator*() const {
|
||||
return * c_->cb_->other->t;
|
||||
@@ -240,11 +236,7 @@ public:
|
||||
return * this;
|
||||
}
|
||||
|
||||
iterator operator++( int) {
|
||||
iterator tmp( * this);
|
||||
++*this;
|
||||
return tmp;
|
||||
}
|
||||
iterator operator++( int) = delete;
|
||||
|
||||
reference_t operator*() const {
|
||||
return * c_->cb_->other->t;
|
||||
|
||||
Reference in New Issue
Block a user