Boost logo

Boost :

Subject: [boost] throw or boost::throw_exception?
From: Andrzej Krzemienski (akrzemi1_at_[hidden])
Date: 2014-05-30 04:29:02

I am not sure where, but I am convinced that I have read that it is
recommended for Boost libraries that they not use naked throw expressions
but instead call boost::throw_exception. Is that true?

If so, it enforces a dependency of more than half Boost libraries on
Boost.Exception. Am I right?

If so, is this the right recommendation in the context of the discussion
about reducing dependencies between the libraries?


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