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 DelimiterElementT, std::size_t N> 
  tuple_manipulator< TupleT, DelimiterElementT * > 
  tuple_manip(TupleT const & tuple, DelimiterElementT(&) 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