Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function clear_context

boost::unit_test::framework::clear_context — Erases context frame (when test exits context scope)

Synopsis

// In header: <boost/test/framework.hpp>


void clear_context(int context_id = -1);

Description

If context_id is passed clears that specific context frame identified by this id, otherwise clears all non sticky contexts.


PrevUpHomeNext