...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::histogram::algorithm::shrink_and_rebin — Shrink and rebin option to be used in reduce() (convenience overload for single axis).
// In header: <boost/histogram/algorithm/reduce.hpp> reduce_option shrink_and_rebin(double lower, double upper, unsigned merge);