Boost logo

Boost :

Subject: Re: [boost] Boost and exceptions
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-06-18 05:25:36

On 17/06/2012 12:45, Dirk Ulrich wrote:

> 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.

All Boost libraries should work with exceptions disabled, with
potentially limited functionality. If that is not the case, it's
probably a library-specific bug that should be reported.

If exceptions are disabled, Boost will call
boost::throw_exception(std::exception const&), which must be defined by
the user.

Boost list run by bdawes at, gregod at, cpdaniel at, john at