#include <iostream>
#include <sstream>
#include <cassert>
#include <stdexcept>
#include <mia/core/defines.hh>
Go to the source code of this file.
Macros | |
#define | DEBUG_ASSERT_RELEASE_THROW(cond, msg...) |
Functions | |
template<typename V > | |
void | __append_message (std::ostream &os, const V &v) |
void | __append_message (std::ostream &os) |
template<typename V , typename... T> | |
void | __append_message (std::ostream &os, const V &v, T ...t) |
template<typename... T> | |
const std::string | __create_message (T ...t) |
template<typename E , typename... T> | |
E | create_exception (T ...t) |
helper template to create exceptions with complex messages More... | |
#define DEBUG_ASSERT_RELEASE_THROW | ( | cond, | |
msg... | |||
) |
Definition at line 99 of file errormacro.hh.
Referenced by TCArrayWrapper< T >::begin(), TCArrayWrapper< T >::end(), TCArrayWrapper< T >::operator[](), and T2DVector< T2DVector< T > >::operator[]().
void __append_message | ( | std::ostream & | os, |
const V & | v | ||
) |
Definition at line 39 of file errormacro.hh.
Referenced by __append_message(), and __create_message().
|
inline |
Definition at line 44 of file errormacro.hh.
void __append_message | ( | std::ostream & | os, |
const V & | v, | ||
T ... | t | ||
) |
Definition at line 49 of file errormacro.hh.
References __append_message().
const std::string __create_message | ( | T ... | t | ) |
Definition at line 56 of file errormacro.hh.
References __append_message().
Referenced by create_exception().