Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Struct template get_options

boost::histogram::axis::traits::get_options — Get axis options for axis type.


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

template<typename Axis> 
struct get_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, get_options is the corresponding option type. Otherwise, it is boost::histogram::axis::option::growth_t, if the axis has a methodupdate, else boost::histogram::axis::option::none_t.

Template Parameters

  1. typename Axis

    axis type