tmp/tmp__ey53wg/{from.md → to.md}
RENAMED
|
@@ -52,14 +52,10 @@ order; and the returning execution synchronizes with the return from all
|
|
| 52 |
passive executions.
|
| 53 |
|
| 54 |
*Throws:* `system_error` when an exception is
|
| 55 |
required ([[thread.req.exception]]), or any exception thrown by `func`.
|
| 56 |
|
| 57 |
-
*Error conditions:*
|
| 58 |
-
|
| 59 |
-
- `invalid_argument` — if the `once_flag` object is no longer valid.
|
| 60 |
-
|
| 61 |
``` cpp
|
| 62 |
// global flag, regular function
|
| 63 |
void init();
|
| 64 |
std::once_flag flag;
|
| 65 |
|
|
|
|
| 52 |
passive executions.
|
| 53 |
|
| 54 |
*Throws:* `system_error` when an exception is
|
| 55 |
required ([[thread.req.exception]]), or any exception thrown by `func`.
|
| 56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
``` cpp
|
| 58 |
// global flag, regular function
|
| 59 |
void init();
|
| 60 |
std::once_flag flag;
|
| 61 |
|