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 dump_elements

boost::log::dump_elements — Creates a stream manipulator that will dump elements of an array in hexadecimal form.

Synopsis

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


template<typename T> 
  bounded_dump_manip 
  dump_elements(T * data, std::size_t count, std::size_t max_count);

Description

Parameters:

count

The size of the region, in number of T elements

data

The pointer to the beginning of the array

max_count

The maximum number of elements to output

Returns:

The manipulator that is to be put to a stream


PrevUpHomeNext