...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::bounded_dump_manip — Manipulator for printing binary representation of the data with a size limit.
// In header: <boost/log/utility/manipulators/dump.hpp> class bounded_dump_manip : public dump_manip { public: // construct/copy/destruct bounded_dump_manip(const void *, std::size_t, std::size_t); bounded_dump_manip(bounded_dump_manip const &); // public member functions std::size_t get_max_size() const; };
bounded_dump_manip
public
construct/copy/destructbounded_dump_manip(const void * data, std::size_t size, std::size_t max_size);
bounded_dump_manip(bounded_dump_manip const & that);