...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::log::dump_elements — Creates a stream manipulator that will dump elements of an array in hexadecimal form.
// 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);