$ 0 0 Does the stuff you want to do depend on the return value? If not, perhaps do it in a scope guard?