Boost logo

Boost :

Subject: [boost] Boost and exceptions
From: Dirk Ulrich (dirkude_at_[hidden])
Date: 2012-06-17 06:45:50


Dear all,

when looking at Boost as a whole its obvious that it uses C++ exceptions to
report exceptional conditions because its the C++ way of doing it and it has
to interact with the C++ standard library. On the other hand it seems also
obvious that some libraries (Boost.Units, Boost.MPL, etc.) do probably not
use C++ exceptions at all since they are pure compile time libraries or
provide services which do not have exceptional cases.

I am working on a C++ based project which forbids the usage of C++ exceptions
but it is still preferable to use Boost libraries at least the ones which do
not make use of C++ exceptions at all. I am especially interested in using
Boost.Units and Boost.Math.

Which of Boost libraries do NOT make use of C++ exceptions (i did not find
such a list but maybe its already available somewhere)?

What would it take to use these libraries as a stand-alone "minimal" Boost
library?

Thanks


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