|
qpmad
Eigen-based C++ QP solver.
|
Throw & assert macro.
Definition in file cpput_exception.h.
Go to the source code of this file.
#include <string>#include <stdexcept>Macros | |
| #define | QPMAD_UTILS_THROW_EXCEPTION(exception_type, message) throw exception_type((message)) |
| #define | QPMAD_UTILS_THROW(s) QPMAD_UTILS_THROW_EXCEPTION(std::runtime_error, (s)) |
| #define | QPMAD_UTILS_PERSISTENT_ASSERT(condition, message) |
| #define | QPMAD_UTILS_ASSERT(condition, message) QPMAD_UTILS_PERSISTENT_ASSERT(condition, message) |
| #define QPMAD_UTILS_ASSERT | ( | condition, | |
| message | |||
| ) | QPMAD_UTILS_PERSISTENT_ASSERT(condition, message) |
Definition at line 40 of file cpput_exception.h.
| #define QPMAD_UTILS_PERSISTENT_ASSERT | ( | condition, | |
| message | |||
| ) |
Definition at line 31 of file cpput_exception.h.
| #define QPMAD_UTILS_THROW | ( | s | ) | QPMAD_UTILS_THROW_EXCEPTION(std::runtime_error, (s)) |
Definition at line 26 of file cpput_exception.h.
| #define QPMAD_UTILS_THROW_EXCEPTION | ( | exception_type, | |
| message | |||
| ) | throw exception_type((message)) |
Definition at line 17 of file cpput_exception.h.
1.8.15