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

Class template tuple_manipulator<TupleT, void>

boost::log::tuple_manipulator<TupleT, void>

Synopsis

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

template<typename TupleT> 
class tuple_manipulator<TupleT, void> {
public:
  // member classes/structs/unions
  template<typename StreamT> 
  struct output_visitor {
    // types
    typedef void result_type;

    // construct/copy/destruct
    explicit output_visitor(StreamT &) noexcept;

    // public member functions
    template<typename T> result_type operator()(T const &) const;
  };
  // construct/copy/destruct
  explicit tuple_manipulator(TupleT const &) noexcept;

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

Description

Stream manipulator for inserting a heterogeneous sequence of elements. Specialization for when there is no delimiter.

tuple_manipulator public construct/copy/destruct

  1. explicit tuple_manipulator(TupleT const & tuple) noexcept;
    Initializing constructor.

tuple_manipulator public member functions

  1. template<typename StreamT> void output(StreamT & stream) const;
    The method outputs elements of the sequence.

PrevUpHomeNext