Boost C++ 库

...全球公认的最受推崇、设计最精湛的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ Coding Standards

Struct callback_cleaner - Boost C++ 函数库
PrevUpHomeNext

Struct callback_cleaner

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

提要

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



struct callback_cleaner {

  // public member functions
  callback_cleaner(boost::function< void()>);
  ~callback_cleaner();

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

描述

callback_cleaner 公共成员函数

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

PrevUpHomeNext