#include <stdio.h>
#include "ers/Assertion.h"
Go to the source code of this file.
Namespaces | |
namespace | ers |
Classes | |
class | ers::Precondition |
Precondition issue. More... | |
Defines | |
#define | ERS_PRECONDITION(expr,) { if(!(expr)) { char precondition_buffer[256] ; snprintf(precondition_buffer,256, __VA_ARGS__) ; ers::Precondition failed_precondition(ERS_HERE,ers::error,#expr,precondition_buffer,false) ; throw failed_precondition ; } } |
#define ERS_PRECONDITION | ( | expr | ) | { if(!(expr)) { char precondition_buffer[256] ; snprintf(precondition_buffer,256, __VA_ARGS__) ; ers::Precondition failed_precondition(ERS_HERE,ers::error,#expr,precondition_buffer,false) ; throw failed_precondition ; } } |
Definition at line 48 of file Precondition.h.
Referenced by ers::StreamFactory::debug(), and ers::StreamFactory::set().