
Message du 24/03/11 03:02 De : "Robert Kawulak" A : boost@lists.boost.org Copie à : Objet : Re: [boost] [inspect] exceptions (FW: [Boost-users] no exceptions)
From: Emil Dotchevski In my mind it's exactly the other way around: the main point of BOOST_THROW_EXCEPTION is to support BOOST_NO_EXCEPTIONS builds, the other stuff is just a free bonus.
OK, but you're speaking about the motivation for development of BOOST_THROW_EXCEPTION. I'm speaking about the motivation to make using BOOST_THROW_EXCEPTION a guideline. Supporting non-conforming compilers is definitely not in the focus of Boost guidelines ("There is no requirement that a library run on C++ compilers which do not conform to the ISO standard.")
Note that people working on embedded systems could be using a conforming compiler but they could decide to disable exceptions as the performances could be improved, let me say by 15%. 15% that they absolutely need. Best, Vicente