a simple "loop"
None
The "loop" construct replaces loops like while, do_while and forever.
To start the next iteration of the "loop" use the std::next-function.
std::next and std::break must be called in tail position!
A "loop" is exited via std::break or through returning one or more results.
std::repeat | invoke a statement sequence for a specific number of times |
std::from_to | a loop iterating over a sequence of values |
std::from_to_by | a loop iterating over a sequence of values |
std::next | starts the next "iteration" of a "loop" |
std::break | cancels the current "loop" |