tmp/tmpy9qy_65x/{from.md → to.md}
RENAMED
|
@@ -1,24 +0,0 @@
|
|
| 1 |
-
#### `map` operations <a id="map.ops">[[map.ops]]</a>
|
| 2 |
-
|
| 3 |
-
``` cpp
|
| 4 |
-
iterator find(const key_type& x);
|
| 5 |
-
const_iterator find(const key_type& x) const;
|
| 6 |
-
|
| 7 |
-
iterator lower_bound(const key_type& x);
|
| 8 |
-
const_iterator lower_bound(const key_type& x) const;
|
| 9 |
-
|
| 10 |
-
iterator upper_bound(const key_type& x);
|
| 11 |
-
const_iterator upper_bound(const key_type &x) const;
|
| 12 |
-
|
| 13 |
-
pair<iterator, iterator>
|
| 14 |
-
equal_range(const key_type &x);
|
| 15 |
-
pair<const_iterator, const_iterator>
|
| 16 |
-
equal_range(const key_type& x) const;
|
| 17 |
-
```
|
| 18 |
-
|
| 19 |
-
The `find`, `lower_bound`, `upper_bound` and `equal_range` member
|
| 20 |
-
functions each have two versions, one const and the other non-const. In
|
| 21 |
-
each case the behavior of the two functions is identical except that the
|
| 22 |
-
const version returns a `const_iterator` and the non-const version an
|
| 23 |
-
`iterator` ([[associative.reqmts]]).
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|