Ardour
9.0-pre0-582-g084a23a80d
|
#include <throwing.h>
Protected Member Functions | |
Throwing () | |
bool | throw_level (ThrowLevel level) |
Class that allows optimizing out error checking during compile time. Usage: to take all advantage of this class you should wrap all throwing statemets like this:
The order of the conditionals in the if-clause is important. The checks specified in other_optional_conditionals are only optimized out if throw_level() is placed before it with a logical and (short-circuiting).
Definition at line 43 of file throwing.h.
|
inlineprotected |
Definition at line 46 of file throwing.h.
|
inlineprotected |
Definition at line 47 of file throwing.h.