22 #if TLX_DIE_WITH_EXCEPTION 34 std::cerr << msg << std::endl;
40 std::ostringstream oss;
41 oss << msg <<
" @ " << file <<
':' << line;
50 :
std::runtime_error(message) { }
bool set_die_with_exception(bool b)
DieException(const std::string &message)
void die_with_message(const std::string &msg)
die with message - either throw an exception or die via std::terminate()
Exception thrown by die_with_message() if.
static std::atomic< bool > s_die_with_exception
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking