Am 22.10.2011, 21:05 Uhr, schrieb Dmitry Olshansky <[email protected]>:

Definitely. How about adding an empty property + opCast to bool, with that you'd get:
if(!re)
{
//create re
}

It is nice that you *can* do this,

and a bit more verbose:
if(re.empty)
{
//create re
}

but I prefer some speaking name here. Otherwise I'd believe 're' is a pointer or boolean + it is harder to look up in the documentation.

Reply via email to