Boost logo

Boost :

From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2020-11-27 17:20:05


On Fri, 27 Nov 2020 at 10:36, Andrey Semashev via Boost
<boost_at_[hidden]> wrote:

> I'm not aware of a standard replacement of Boost.Assert. <cassert> is
> not one.

A tangent, but I'd rather use a simple and standard component that is
used throughout all kinds of C and C++ code that some boost-specific
thing that adds zero value.
If you want to set a custom handler, just hook on SIGABRT, which will
catch a lot more things than defining boost::assertion_failed.
If you want to know where the assertion handler happened, just learn
how to use core files or how to dump the stack yourself.


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