Name | Expression | Description |
grid type | I::grid_type | type of the underlying grid, model of Grid |
anchor type | I::anchor_type | type of the underlying grid range, model of Grid Range |
element type | I::element_type | type of the underlying element, model of Grid Element |
value type | I::value_type | synomym for I::element_type |
Name | Expression | Type requirements | return type |
prefix increment | ++it; | I& | |
dereference | *it; | I::element_type | |
equality comparison | i == j | bool | |
validity check | i.IsDone(); | bool | |
Name | Expression | Precondition | Semantics | Postcondition |
prefix increment | ++i; | ! i.IsDone() | move iterator forward | i.IsDone() or *i is a valid grid element |
dereference | e = *it; | ! it.IsDone() | access the element it points to | E == (*it); |
equality comparison | i == j | &(i.TheGrid()) == &(j.TheGrid()) | true if i and j reference the same element: *i == *j | |
validity check | i.IsDone(); | true iff i is past-the-end. | ||