Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

BOOST_level_NO_THROW

BOOST_level_NO_THROW(expression) asserts that expression does not throw an exception.

Example

BOOST_AUTO_TEST_CASE(example_no_throw)
{
    BOOST_REQUIRE_NO_THROW(1 + 1);
}


PrevUpHomeNext