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 to view this page for the latest version.
PrevUpHomeNext

Class stream_holder

boost::unit_test::runtime_config::stream_holder

Synopsis

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


class stream_holder {
public:
  // construct/copy/destruct
  explicit stream_holder(std::ostream & = std::cout);

  // public member functions
  void setup(const const_string &);
  std::ostream & ref() const;
};

Description

stream_holder public construct/copy/destruct

  1. explicit stream_holder(std::ostream & default_stream = std::cout);

stream_holder public member functions

  1. void setup(const const_string & stream_name);
  2. std::ostream & ref() const;

PrevUpHomeNext