...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::make_weighted_profile — Make profile from iterable range which accepts weights.
// In header: <boost/histogram/make_profile.hpp> template<typename Iterable> auto make_weighted_profile(Iterable && iterable);