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

Struct callback_cleaner

boost::unit_test::runtime_config::stream_holder::callback_cleaner

Synopsis

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



struct callback_cleaner {
  // construct/copy/destruct
  callback_cleaner(boost::function< void()>);
  ~callback_cleaner();

  // public data members
  boost::function< void()> m_cleaner_callback;
  std::ofstream m_file;
};

Description

callback_cleaner public construct/copy/destruct

  1. callback_cleaner(boost::function< void()> cleaner_callback);
  2. ~callback_cleaner();

PrevUpHomeNext