asserts.h
Go to the documentation of this file.
friend invariant && operator<<(invariant &&item, const Text &text)
Sets the message as an incoming stream.
Definition: asserts.h:68
Enforce assertions that a condition will never change during the running lifetime of that code.
Definition: asserts.h:37
static invariant eval(bool condition)
Evaluate the invariant and throw std::invalid_argument if violated.
Definition: asserts.h:82