remove enroll example
This commit is contained in:
committed by
JamesFlare1212
parent
97dc4c3881
commit
841c1874da
@@ -81,8 +81,7 @@ next or previous element of any container.
|
|||||||
- Iterators can be compared using the == and != operators.
|
- Iterators can be compared using the == and != operators.
|
||||||
- Iterators can be assigned, just like any other variable.
|
- Iterators can be assigned, just like any other variable.
|
||||||
- Vector iterators have several additional operations:
|
- Vector iterators have several additional operations:
|
||||||
- Integer values may be added to them or subtracted from them. This leads to statements like
|
- Integer values may be added to them or subtracted from them.
|
||||||
enrolled.erase(enrolled.begin() + 5);
|
|
||||||
- Vector iterators may be compared using operators like <, <=, etc.
|
- Vector iterators may be compared using operators like <, <=, etc.
|
||||||
- For most containers (other than vectors), these “random access” iterator operations are not legal and
|
- For most containers (other than vectors), these “random access” iterator operations are not legal and
|
||||||
therefore prevented by the compiler. The reasons will become clear as we look at their implementations.
|
therefore prevented by the compiler. The reasons will become clear as we look at their implementations.
|
||||||
|
|||||||
Reference in New Issue
Block a user