All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes
Aux::Checkers Namespace Reference

This namespace provides some Types with a static member-function void enforce(bool) that may check wether the argument is true and create some kind of failure otherwise. More...

Classes

struct  Asserter
 Checks the bool via assert. More...
 
struct  Enforcer
 Checks to bool via enforce. More...
 
struct  Terminator
 Calls std::terminate if the bool is false. More...
 
struct  Ignorer
 Won't look at the bool (not even in debug-mode, which is how this differs from Asserter) More...
 

Detailed Description

This namespace provides some Types with a static member-function void enforce(bool) that may check wether the argument is true and create some kind of failure otherwise.