siplasplas
A library for C++ reflection and introspection
|
Represents an assert expression when SIPLASPLAS_ASSERT() macros are disabled. More...
#include <siplasplas/utility/assert.hpp>
Public Member Functions | |
template<typename Function > | |
DummyAssertExpression & | onFailure (Function) |
Does nothing. More... | |
template<typename String , typename... Args> | |
DummyAssertExpression & | detail (String &&, Args &&...) |
Does nothing. More... | |
template<typename String , typename... Args> | |
DummyAssertExpression & | operator() (String &&, Args &&...) |
Does nothing. Equivalent to detail(). | |
Represents an assert expression when SIPLASPLAS_ASSERT() macros are disabled.
When siplasplas assertions are disabled DummyAssertExpression objects are instanced instead, and the expression does nothing.
|
inline |
Does nothing.
This function template is defined only to make siplasplas assertions compile when are disabled. It does nothing.
|
inline |
Does nothing.
This function template is defined only to make siplasplas assertions compile when are disabled. It does nothing.