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

Struct template priority_compare

boost::intrusive::priority_compare

Synopsis

// In header: <boost/intrusive/priority_compare.hpp>

template<typename T> 
struct priority_compare : public std::binary_function< T, T, bool > {

  // public member functions
  bool operator()(const T &, const T &) const;
};

Description

priority_compare public member functions

  1. bool operator()(const T & val, const T & val2) const;

PrevUpHomeNext