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 for the latest Boost documentation.
PrevUpHomeNext

Struct output_fun

boost::log::output_fun — The function object that outputs its second operand to the first one.

Synopsis

// In header: <boost/log/utility/functional/bind_output.hpp>


struct output_fun {
  // types
  typedef void result_type;

  // public member functions
  template<typename StreamT, typename T> 
    void operator()(StreamT &, T const &) const;
};

Description

output_fun public member functions

  1. template<typename StreamT, typename T> 
      void operator()(StreamT & strm, T const & val) const;

PrevUpHomeNext