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 for the latest Boost documentation.

Function template operator==

boost::histogram::axis::operator== — Compare variant with a concrete axis type.


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

template<class... Us, typename T> 
  bool operator==(const variant< Us... > & u, const T & t);


Return true if the variant point to the same concrete axis type and the types compare equal. Otherwise return false.