Loading...
Searching...
No Matches
asserts.h
Go to the documentation of this file.
58 // https://herbsutter.com/2014/05/03/reader-qa-how-can-i-prevent-a-type-from-being-instantiated-on-the-stack/
friend invariant && operator<<(invariant &&item, const Text &text)
Sets the message as an incoming stream.
Definition asserts.h:84
static invariant eval(bool condition)
Evaluate the invariant and throw std::invalid_argument if violated.
Definition asserts.h:100