Boost logo

Boost :

Subject: Re: [boost] [config] std::uncaught_exceptions
From: Lorenzo Caminiti (lorcaminiti_at_[hidden])
Date: 2018-11-05 16:52:22


> On Mon, Nov 5, 2018 at 1:53 AM Andrey Semashev via Boost <boost_at_[hidden]> wrote:
>> On 11/5/18 6:41 AM, Lorenzo Caminiti via Boost wrote:
>>
> > Will Boost.Config have a macro to detect if std::uncaught_exceptions
> > is supported or not by the current compiler?
>
> Since you have to include <exception> anyway, you could test for
> __cpp_lib_uncaught_exceptions.

Yes, this will work well for Boost.Contract. I'll make this change in
one of the next releases.

Thanks.
--Lorenzo


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