...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::axis::traits::width_as — Returns bin width at axis index.
// In header: <boost/histogram/axis/traits.hpp> template<typename Result, typename Axis> Result width_as(const Axis & axis, index_type index);