Some extra fun (and obscene) things along this line:<p>- Use __LINE__ to make it so you don&#x27;t have to manually specify the continuation number (with the caveat that you can&#x27;t have more than one on a line).<p>- Use computed goto and labels rather than a switch and you can make it work even inside a switch (&amp;&amp;label to take the address, goto *addr to goto). This is a gcc extension.<p>- Use clang blocks to save state and return the block for continuation, saving you from needing to use static functions. Perhaps you could also use C++ lambdas along the same line, but I&#x27;m not sure if they mix well with the &amp;&amp;label thing.