Boost logo

Boost :

Subject: Re: [boost] [modularization] Dependency to Boost.Exceptionunavoidable?
From: Peter Dimov (lists_at_[hidden])
Date: 2013-11-01 17:41:09


Daniel Pfeifer wrote:
> Moving throw_exception.hpp out of this repository eliminates that
> dependency.

I really don't see how.

Before, you have my_module -> exception. After, you have my_module ->
utility -> exception. Not only do you still depend on Exception, you now
depend on Utility as well.

> Also, that header should not include any headers from Boost.Exception when
> BOOST_NO_EXCEPTIONS or BOOST_EXCEPTION_DISABLE is defined.

Are you talking about

#include <boost/exception/detail/attribute_noreturn.hpp>

here?


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