tmp/tmpgvyc5bp9/{from.md → to.md}
RENAMED
|
@@ -32,11 +32,11 @@ const time_zone* locate_zone(string_view tz_name) const;
|
|
| 32 |
|
| 33 |
[*Note 1*: A `time_zone_link` specifies an alternative name for a
|
| 34 |
`time_zone`. — *end note*]
|
| 35 |
|
| 36 |
*Throws:* If a `const time_zone*` cannot be found as described in the
|
| 37 |
-
*Returns:*
|
| 38 |
|
| 39 |
[*Note 2*: On non-exceptional return, the return value is always a
|
| 40 |
pointer to a valid `time_zone`. — *end note*]
|
| 41 |
|
| 42 |
``` cpp
|
|
@@ -104,19 +104,19 @@ const_iterator erase_after(const_iterator p);
|
|
| 104 |
|
| 105 |
*Preconditions:* The iterator following `p` is dereferenceable.
|
| 106 |
|
| 107 |
*Effects:* Erases the `tzdb` referred to by the iterator following `p`.
|
| 108 |
|
| 109 |
-
*Returns:* An iterator pointing to the element following the one that
|
| 110 |
-
was erased, or `end()` if no such element exists.
|
| 111 |
-
|
| 112 |
*Ensures:* No pointers, references, or iterators are invalidated except
|
| 113 |
those referring to the erased `tzdb`.
|
| 114 |
|
| 115 |
[*Note 2*: It is not possible to erase the `tzdb` referred to by
|
| 116 |
`begin()`. — *end note*]
|
| 117 |
|
|
|
|
|
|
|
|
|
|
| 118 |
*Throws:* Nothing.
|
| 119 |
|
| 120 |
``` cpp
|
| 121 |
const_iterator begin() const noexcept;
|
| 122 |
```
|
|
|
|
| 32 |
|
| 33 |
[*Note 1*: A `time_zone_link` specifies an alternative name for a
|
| 34 |
`time_zone`. — *end note*]
|
| 35 |
|
| 36 |
*Throws:* If a `const time_zone*` cannot be found as described in the
|
| 37 |
+
*Returns:* element, throws a `runtime_error`.
|
| 38 |
|
| 39 |
[*Note 2*: On non-exceptional return, the return value is always a
|
| 40 |
pointer to a valid `time_zone`. — *end note*]
|
| 41 |
|
| 42 |
``` cpp
|
|
|
|
| 104 |
|
| 105 |
*Preconditions:* The iterator following `p` is dereferenceable.
|
| 106 |
|
| 107 |
*Effects:* Erases the `tzdb` referred to by the iterator following `p`.
|
| 108 |
|
|
|
|
|
|
|
|
|
|
| 109 |
*Ensures:* No pointers, references, or iterators are invalidated except
|
| 110 |
those referring to the erased `tzdb`.
|
| 111 |
|
| 112 |
[*Note 2*: It is not possible to erase the `tzdb` referred to by
|
| 113 |
`begin()`. — *end note*]
|
| 114 |
|
| 115 |
+
*Returns:* An iterator pointing to the element following the one that
|
| 116 |
+
was erased, or `end()` if no such element exists.
|
| 117 |
+
|
| 118 |
*Throws:* Nothing.
|
| 119 |
|
| 120 |
``` cpp
|
| 121 |
const_iterator begin() const noexcept;
|
| 122 |
```
|