34 Execution control library [exec]

34.11 Execution contexts [exec.ctx]

34.11.1 execution​::​run_loop [exec.run.loop]

34.11.1.3 Constructor and destructor [exec.run.loop.ctor]

run_loop() noexcept;
Postconditions: count is 0 and state is starting.
~run_loop();
Effects: If count is not 0 or if state is running, invokes terminate ([except.terminate]).
Otherwise, has no effects.