tmp/tmpjysh8pwh/{from.md → to.md}
RENAMED
|
@@ -11,19 +11,17 @@ reference operator[](size_type pos);
|
|
| 11 |
reference to an object of type `charT` with value `charT()`, where
|
| 12 |
modifying the object leads to undefined behavior.
|
| 13 |
|
| 14 |
*Throws:* Nothing.
|
| 15 |
|
| 16 |
-
*Complexity:*
|
| 17 |
|
| 18 |
``` cpp
|
| 19 |
const_reference at(size_type pos) const;
|
| 20 |
reference at(size_type pos);
|
| 21 |
```
|
| 22 |
|
| 23 |
-
*Requires:* `pos < size()`
|
| 24 |
-
|
| 25 |
*Throws:* `out_of_range` if `pos >= size()`.
|
| 26 |
|
| 27 |
*Returns:* `operator[](pos)`.
|
| 28 |
|
| 29 |
``` cpp
|
|
|
|
| 11 |
reference to an object of type `charT` with value `charT()`, where
|
| 12 |
modifying the object leads to undefined behavior.
|
| 13 |
|
| 14 |
*Throws:* Nothing.
|
| 15 |
|
| 16 |
+
*Complexity:* Constant time.
|
| 17 |
|
| 18 |
``` cpp
|
| 19 |
const_reference at(size_type pos) const;
|
| 20 |
reference at(size_type pos);
|
| 21 |
```
|
| 22 |
|
|
|
|
|
|
|
| 23 |
*Throws:* `out_of_range` if `pos >= size()`.
|
| 24 |
|
| 25 |
*Returns:* `operator[](pos)`.
|
| 26 |
|
| 27 |
``` cpp
|