tmp/tmpidqdclgv/{from.md → to.md}
RENAMED
|
@@ -32,14 +32,10 @@ order; and the returning execution synchronizes with the return from all
|
|
| 32 |
passive executions.
|
| 33 |
|
| 34 |
*Throws:* `system_error` when an exception is
|
| 35 |
required ([[thread.req.exception]]), or any exception thrown by `func`.
|
| 36 |
|
| 37 |
-
*Error conditions:*
|
| 38 |
-
|
| 39 |
-
- `invalid_argument` — if the `once_flag` object is no longer valid.
|
| 40 |
-
|
| 41 |
``` cpp
|
| 42 |
// global flag, regular function
|
| 43 |
void init();
|
| 44 |
std::once_flag flag;
|
| 45 |
|
|
|
|
| 32 |
passive executions.
|
| 33 |
|
| 34 |
*Throws:* `system_error` when an exception is
|
| 35 |
required ([[thread.req.exception]]), or any exception thrown by `func`.
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
``` cpp
|
| 38 |
// global flag, regular function
|
| 39 |
void init();
|
| 40 |
std::once_flag flag;
|
| 41 |
|