boost::histogram::axis::traits::value_type — Value type for axis type.
Doxygen does not render this well. This is a meta-function (template alias), it accepts an axis type and returns the value type.
The value type is deduced from the argument of the
Axis::index method. Const references are decayed to the their value types, for example, the type deduced for
Axis::index(const int&) is
The deduction always succeeds if the axis type models the Axis concept correctly. Errors come from violations of the concept, in particular, an index method that is templated or overloaded is not allowed.