Go to the source code of this file.
Definition at line 12 of file test_exceptions.cxx.
16 const double number = 6.9;
20 cerr <<
format(
"value=%d, omg=\"%s\", number=%f", value, omg, number) <<
endl;
27 cerr <<
"caught ValueError: " <<
errstr(e) <<
endl;
boost::error_info< struct tag_errmsg, std::string > errmsg
Thrown when a wrong value has been encountered.
const GenericPointer< typename T::ValueType > T2 value
QTextStream & endl(QTextStream &s)