...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::weight_type — Weight holder and type envelope.
// In header: <boost/histogram/weight.hpp> template<typename T> struct weight_type { // public member functions template<typename U> operator weight_type< U >() const; // public data members T value; // Access underlying value. };