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 set_format

boost::unit_test::results_reporter::set_format — Sets custom report formatter.

Synopsis

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


void set_format(results_reporter::format * f);

Description

The framework takes ownership of the pointer passed as an argument. So this should be a pointer to a heap allocated object

Parameters:

f

pointer to heap allocated instance of custom report formatter class


PrevUpHomeNext