36template <
typename exception_t,
typename T>
37inline void enforce(
bool condition,
const T& arg1) {
39 throw exception_t(arg1);
68template <
typename T,
typename U>
79template <
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
Error class for exceptions, log message class.
Helper structure for the Matroska tags lookup table.
Definition matroskavideo.hpp:39
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
ErrorCode
Complete list of all Exiv2 error codes.
Definition error.hpp:162