Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template static_options

boost::histogram::axis::traits::static_options — Get static axis options for axis type.

Synopsis

// In header: <boost/histogram/axis/traits.hpp>

template<typename Axis> 
struct static_options {
};

Description

Doxygen does not render this well. This is a meta-function, it accepts an axis type and represents its 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.

Template Parameters

  1. typename Axis

    axis type


PrevUpHomeNext