
At Thu, 24 Mar 2011 20:01:33 -0700, Emil Dotchevski wrote:
On Thu, Mar 24, 2011 at 6:04 PM, Dave Abrahams <dave@boostpro.com> wrote:
At Thu, 24 Mar 2011 17:49:55 -0700, Emil Dotchevski wrote:
Besides, even if the library remains useless in BOOST_NO_EXCEPTIONS builds, I wouldn't say that BOOST_THROW_EXCEPTION buys nothing.
What does it buy in this case?
- Enables transporting of exceptions between threads
- Enables transporting of arbitrary data in exception objects
- Enables boost::diagnostic_information to return a better message (double-clicking the message in Visual Studio and other editors' log window opens the throw location.)
It seems unreasonable to consciously take these away from the user.
Point taken. +1 for just making it policy, then. -- Dave Abrahams BoostPro Computing http://www.boostpro.com