24 #include "ppl-config.h"
55 s << domain << method <<
":" << std::endl
57 throw std::length_error(s.str());
size_t dimension_type
An unsigned integral type for representing space dimensions.
unsigned long long Threshold
The type used to specify thresholds for computational weight.
virtual ~Throwable()
Virtual destructor.
dimension_type check_space_dimension_overflow(const dimension_type dim, const dimension_type max, const char *domain, const char *method, const char *reason)
static Threshold weight
The current computational weight.
The entire library is confined to this namespace.
static unsigned int count
Non zero during evaluation of PPL_ASSERT expression.
static void(* check_function)(void)
A pointer to the function that has to be called when checking the reaching of thresholds.
const Throwable *volatile abandon_expensive_computations
A pointer to an exception object.
User objects the PPL can throw.