Boost logo

Boost :

Subject: [boost] [modularization] Dependency to Boost.Exception unavoidable?
From: Daniel Pfeifer (daniel_at_[hidden])
Date: 2013-11-01 11:45:51


2013/11/1 Peter Dimov <lists_at_[hidden]>:
>
> ->exception is unavoidable because of throw_exception.

I think `throw_exception.hpp` belongs to Boost.Utility for two reasons:

1. That file is older than Boost.Exception.
2. It introduces a *conditional* dependency to Boost.Exception.

When I provide an implementation for `throw_exception` and/or define
BOOST_NO_EXCEPTIONS/BOOST_EXCEPTION_DISABLE accordingly, I would
expect *not* having a dependency to Boost.Exception.

-- Daniel


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