Boost C++ Libraries

...one 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.
PrevUpHomeNext

Function template metadata

boost::histogram::axis::traits::metadata — Returns reference to metadata of an axis.

Synopsis

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


template<typename Axis> decltype(auto) metadata(Axis && axis);

Description

If the expression x.metadata() for an axis instance x (maybe const) is valid, return the result. Otherwise, return a reference to a static instance of boost::histogram::axis::null_type.

Parameters:

axis

any axis instance


PrevUpHomeNext