// nicer with new if syntax:
if (optional ofoo = parseFoo(str); ofoo)
use(*ofoo);
Even nicer, old style, without the extraneous ofoo conditional?
if (optional ofoo = parseFoo(str))
use(*ofoo);
Old style if could always be a single declaration,
new style needed for more complex cases.
We could argue the ifs and buts.