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

Function template tuple_manip

boost::log::tuple_manip

Synopsis

// In header: <boost/log/utility/manipulators/tuple.hpp>


template<typename TupleT, typename DelimiterT> 
  boost::disable_if_c< is_scalar< DelimiterT >::value, tuple_manipulator< TupleT, DelimiterT >>::type 
  tuple_manip(TupleT const & tuple, DelimiterT const & delimiter);

Description

Tuple manipulator generator function.

[Note] Note

Both tuple and delimiter objects must outlive the created manipulator object.

Parameters:

delimiter

Delimiter to separate elements in the output. Optional. If not specified, elements are output without separation.

tuple

Heterogeneous sequence of elements to output. The sequence must be supported by Boost.Fusion, and its elements must support stream output.

Returns:

Manipulator to be inserted into the stream.


PrevUpHomeNext