Boost logo

Boost :

Subject: Re: [boost] [config] std::uncaught_exceptions
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2018-11-11 08:22:01


On 11/5/18 12:53 PM, Andrey Semashev wrote:
>
> BTW, there are ways to implement std::uncaught_exceptions on some
> pre-C++17 compilers, this is implemented in Boost.Log:
>
> https://github.com/boostorg/log/blob/develop/src/unhandled_exception_count.cpp
>
> It might be a good idea to move that code somewhere for public use, e.g.
> in Boost.Exception. Opinions?

FYI, this code is now extracted for public use in Boost.Core:

https://github.com/boostorg/core/blob/develop/include/boost/core/uncaught_exceptions.hpp


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