int foo(){ return 1; return 1; }
int foo(const too* t){ ((too*)t)->a = 1; }
if (canDoSomething() && doSomething()){}