boost::histogram::axis::traits::rank — Return axis rank (how many arguments it processes).
// In header: <boost/histogram/axis/traits.hpp> template<typename Axis> constexpr unsigned int rank(const Axis & axis);
Parameters:
axis
any axis instance