Boost C++ Libraries 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 to view this page for the latest version.

Class template range_manipulator



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

template<typename RangeT, typename DelimiterT> 
class range_manipulator {
  // construct/copy/destruct
  range_manipulator(RangeT const &, stored_delimiter_type) noexcept;

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


Stream manipulator for inserting a range of elements, optionally separated with a delimiter.

range_manipulator public construct/copy/destruct

  1. range_manipulator(RangeT const & range, stored_delimiter_type delimiter) noexcept;
    Initializing constructor.

range_manipulator public member functions

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