RAII guard that makes failed checks throw instead of abort for the duration of a test.

Synopsis

Declared in <util/check.h>

struct test_only_CheckFailuresAreExceptionsNotAborts;

Member Functions

Name

Description

test_only_CheckFailuresAreExceptionsNotAborts [constructor]

Enable throwing on check failure for the lifetime of this object.

~test_only_CheckFailuresAreExceptionsNotAborts [destructor]

Restore the default abort‐on‐check‐failure behavior.

Created with MrDocs