I'd throw an exception from the constructor and catch and redirect where it's called instead. I don't expect any constructor to exit the program for me.
In reply to Re: OO: Leaving a constructor midway?
by chromatic
in thread OO: Leaving a constructor midway?
by jest
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |