...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::static_options — Get static axis options for axis type.
// In header: <boost/histogram/axis/traits.hpp> template<typename Axis> struct static_options { };
Doxygen does not render this well. This is a meta-function (template alias), it accepts an axis type and returns the boost::histogram::axis::option::bitset.
If Axis::options() is valid and constexpr, static_options is the corresponding option type. Otherwise, it is boost::histogram::axis::option::growth_t, if the axis has a method update
, else boost::histogram::axis::option::none_t.