tmp/tmp2simg483/{from.md → to.md}
RENAMED
|
@@ -56,11 +56,11 @@ differ only in the return type and return value of the member function
|
|
| 56 |
``` cpp
|
| 57 |
shared_future() noexcept;
|
| 58 |
```
|
| 59 |
|
| 60 |
*Effects:* constructs an *empty* `shared_future` object that does not
|
| 61 |
-
refer to
|
| 62 |
|
| 63 |
`valid() == false`.
|
| 64 |
|
| 65 |
``` cpp
|
| 66 |
shared_future(const shared_future& rhs);
|
|
@@ -181,10 +181,12 @@ specified by `rel_time` has expired.
|
|
| 181 |
- `future_status::ready` if the shared state is ready.
|
| 182 |
- `future_status::timeout` if the function is returning because the
|
| 183 |
relative timeout ([[thread.req.timing]]) specified by `rel_time` has
|
| 184 |
expired.
|
| 185 |
|
|
|
|
|
|
|
| 186 |
``` cpp
|
| 187 |
template <class Clock, class Duration>
|
| 188 |
future_status wait_until(const chrono::time_point<Clock, Duration>& abs_time) const;
|
| 189 |
```
|
| 190 |
|
|
@@ -200,5 +202,7 @@ specified by `abs_time` has expired.
|
|
| 200 |
- `future_status::ready` if the shared state is ready.
|
| 201 |
- `future_status::timeout` if the function is returning because the
|
| 202 |
absolute timeout ([[thread.req.timing]]) specified by `abs_time` has
|
| 203 |
expired.
|
| 204 |
|
|
|
|
|
|
|
|
|
| 56 |
``` cpp
|
| 57 |
shared_future() noexcept;
|
| 58 |
```
|
| 59 |
|
| 60 |
*Effects:* constructs an *empty* `shared_future` object that does not
|
| 61 |
+
refer to a shared state.
|
| 62 |
|
| 63 |
`valid() == false`.
|
| 64 |
|
| 65 |
``` cpp
|
| 66 |
shared_future(const shared_future& rhs);
|
|
|
|
| 181 |
- `future_status::ready` if the shared state is ready.
|
| 182 |
- `future_status::timeout` if the function is returning because the
|
| 183 |
relative timeout ([[thread.req.timing]]) specified by `rel_time` has
|
| 184 |
expired.
|
| 185 |
|
| 186 |
+
*Throws:* timeout-related exceptions ([[thread.req.timing]]).
|
| 187 |
+
|
| 188 |
``` cpp
|
| 189 |
template <class Clock, class Duration>
|
| 190 |
future_status wait_until(const chrono::time_point<Clock, Duration>& abs_time) const;
|
| 191 |
```
|
| 192 |
|
|
|
|
| 202 |
- `future_status::ready` if the shared state is ready.
|
| 203 |
- `future_status::timeout` if the function is returning because the
|
| 204 |
absolute timeout ([[thread.req.timing]]) specified by `abs_time` has
|
| 205 |
expired.
|
| 206 |
|
| 207 |
+
*Throws:* timeout-related exceptions ([[thread.req.timing]]).
|
| 208 |
+
|