...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::log::to_log_manip — Generic manipulator for customizing output to log.
// In header: <boost/log/utility/manipulators/to_log.hpp> template<typename T, typename TagT = void> class to_log_manip { public: // types typedef T value_type; // Output value type. typedef TagT tag_type; // Value tag type. // construct/copy/destruct explicit to_log_manip(value_type const &); to_log_manip(to_log_manip const &); // public member functions value_type const & get() const; };
to_log_manip
public
construct/copy/destructexplicit to_log_manip(value_type const & value);
to_log_manip(to_log_manip const & that);