tmp/tmpnq8otba5/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Observers <a id="stacktrace.basic.obs">[[stacktrace.basic.obs]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
using const_iterator = implementation-defined;
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
The type models `random_access_iterator`
|
| 8 |
+
[[iterator.concept.random.access]] and meets the
|
| 9 |
+
*Cpp17RandomAccessIterator* requirements [[random.access.iterators]].
|
| 10 |
+
|
| 11 |
+
``` cpp
|
| 12 |
+
allocator_type get_allocator() const noexcept;
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
*Returns:* `frames_.get_allocator()`.
|
| 16 |
+
|
| 17 |
+
``` cpp
|
| 18 |
+
const_iterator begin() const noexcept;
|
| 19 |
+
const_iterator cbegin() const noexcept;
|
| 20 |
+
```
|
| 21 |
+
|
| 22 |
+
*Returns:* An iterator referring to the first element in `frames_`. If
|
| 23 |
+
`empty()` is `true`, then it returns the same value as `end()`.
|
| 24 |
+
|
| 25 |
+
``` cpp
|
| 26 |
+
const_iterator end() const noexcept;
|
| 27 |
+
const_iterator cend() const noexcept;
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
*Returns:* The end iterator.
|
| 31 |
+
|
| 32 |
+
``` cpp
|
| 33 |
+
const_reverse_iterator rbegin() const noexcept;
|
| 34 |
+
const_reverse_iterator crbegin() const noexcept;
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
*Returns:* `reverse_iterator(cend())`.
|
| 38 |
+
|
| 39 |
+
``` cpp
|
| 40 |
+
const_reverse_iterator rend() const noexcept;
|
| 41 |
+
const_reverse_iterator crend() const noexcept;
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
*Returns:* `reverse_iterator(cbegin())`.
|
| 45 |
+
|
| 46 |
+
``` cpp
|
| 47 |
+
[[nodiscard]] bool empty() const noexcept;
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
*Returns:* `frames_.empty()`.
|
| 51 |
+
|
| 52 |
+
``` cpp
|
| 53 |
+
size_type size() const noexcept;
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
*Returns:* `frames_.size()`.
|
| 57 |
+
|
| 58 |
+
``` cpp
|
| 59 |
+
size_type max_size() const noexcept;
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
*Returns:* `frames_.max_size()`.
|
| 63 |
+
|
| 64 |
+
``` cpp
|
| 65 |
+
const_reference operator[](size_type frame_no) const;
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
*Preconditions:* `frame_no < size()` is `true`.
|
| 69 |
+
|
| 70 |
+
*Returns:* `frames_[frame_no]`.
|
| 71 |
+
|
| 72 |
+
*Throws:* Nothing.
|
| 73 |
+
|
| 74 |
+
``` cpp
|
| 75 |
+
const_reference at(size_type frame_no) const;
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
*Returns:* `frames_[frame_no]`.
|
| 79 |
+
|
| 80 |
+
*Throws:* `out_of_range` if `frame_no >= size()`.
|
| 81 |
+
|