...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::test_tools::assertion_result — Type used for storing the result of an assertion.
// In header: <boost/test/tools/assertion_result.hpp> class assertion_result { public: // member classes/structs/unions struct dummy { // public member functions void nonnull(); }; // construct/copy/destruct assertion_result(bool); template<typename BoolConvertable> assertion_result(BoolConvertable const &); void operator=(bool); // public member functions bool operator!() const; operator safe_bool() const; BOOST_READONLY_PROPERTY(bool, (assertion_result)); bool has_empty_message() const; wrap_stringstream & message(); const_string message() const; };
assertion_result
public member functionsbool operator!() const;
operator safe_bool() const;
BOOST_READONLY_PROPERTY(bool, (assertion_result));
bool has_empty_message() const;
wrap_stringstream & message();
const_string message() const;