36 template <
typename exception_t,
typename T>
37 inline void enforce(
bool condition,
const T& arg1) {
39 throw exception_t(arg1);
68 template <
typename T,
typename U>
79 template <
typename T,
typename U,
typename V>
Simple error class used for exceptions. An output operator is provided to print errors to a stream...
Definition: error.hpp:235
void enforce(bool condition, const T &arg1)
Ensure that condition is true, otherwise throw an exception of the type exception_t.
Definition: enforce.hpp:37
Helper structure for the Matroska tags lookup table.
Definition: matroskavideo.hpp:39
Error class for exceptions, log message class.
ErrorCode
Complete list of all Exiv2 error codes.
Definition: error.hpp:162