Base Framework
Public Member Functions | List of all members
Assertion Class Reference

Assertion. More...

#include <base/Base.h>

Public Member Functions

 Assertion (bool assertion, const char *message) noexcept
 
 Assertion (bool assertion, const char *expression, const char *filename, const char *line) noexcept
 

Detailed Description

Assertion.

This class allows assertions to be specified outside a function body. This class may be used to check an assertion during application initialization.

See also
assert

Constructor & Destructor Documentation

◆ Assertion()

Assertion::Assertion ( bool  assertion,
const char *  message 
)
inlinenoexcept
Parameters
assertionThe assertion.
messageThe message.