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 a snapshot of the develop branch, built from commit 86319a8e16.
PrevUpHomeNext

Function set_stream

boost::unit_test::results_reporter::set_stream — Sets output stream for results reporting.

Synopsis

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


void set_stream(std::ostream &);

Description

By default std::cerr is used. Use this function to set a different stream. The framework refers to the stream by reference, so you need to make sure the stream object lifetime exceeds the testing main scope.


PrevUpHomeNext