Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-09-22 09:26:09


From: "Peter Dimov" <pdimov_at_[hidden]>

> > Experience tells me that most compilers won't optimize out your catch
> > block.
> > Did you really measure the opposite?
>
> No, the catch block is there, just unreachable (and harmless.)

It's not harmless with sjlj-style exception-handling. MSVC et al will make
you pay a little to register the cleanup.

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk