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 is_reducible

boost::histogram::axis::traits::is_reducible — Meta-function to detect whether an axis is reducible.


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

template<typename Axis> 
struct is_reducible {


Doxygen does not render this well. This is a meta-function (template alias), it accepts an axis type and represents compile-time boolean which is true or false, depending on whether the axis can be reduced with boost::histogram::algorithm::reduce().

An axis can be made reducible by adding a special constructor, see Axis concept for details.

Template Parameters

  1. typename Axis

    axis type.