P2561R3 — A control flow operator
Barry Revzin
EWG
Let’s start with a fairly small example of a series of functions that can generate errors, but don’t themselves handle them - they just need to propagate them up. With exceptions, this might look like: