On Wed, Oct 19, 2011 at 15:09, Matthew Knepley <knepley at gmail.com> wrote:
> Aren't all those destructors called on return too? True, catching within the same scope is much less interesting. How about, the only way to get errors out of C++ constructors and overloaded operators (if you use those) is via exceptions. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20111019/64eaa777/attachment.html>
