Boost C++ Libraries

PrevUpHomeNext

Function template operator<<

boost::log::formatters::operator<<

Synopsis

// In header: <boost/log/formatters/stream.hpp>


template<typename CharT, typename LeftFmtT, typename RightT> 
  unspecified operator<<(basic_formatter< CharT, LeftFmtT > const & left, 
                         RightT const & right);

Description

The operator chains streaming formatters or a formatter and a wrapped object

Parameters:
left

Left-hand formatter

right

Right-hand operand. May either be a formatter or some another object. In the latter case the object will be wrapped into a surrogate formatter that will attempt to put the object into the formatting stream.

Returns:

The constructed chained formatters


PrevUpHomeNext