16 Mar
2015
16 Mar
'15
6:39 p.m.
Paul A. Bristow wrote:
What I have done (explicit <asynch-exceptions>on) seems to work.
This builds the whole Boost with /EHa. You're perfectly within your rights to do so, of course, but I'd rather not, and I don't think that this should be the default. It makes no sense for applications that don't use Boost.Test, for example. (Correctness considerations aside, I suspect that this will also cause quite a penalty in cases where the compiler can no longer remove try/catch(...) blocks when it sees that the code inside can't throw, and those aren't uncommon in generic code such as the implementation of std::vector.)