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 a snapshot of the develop branch, built from commit dcea408971.
PrevUpHomeNext

Struct template priority_compare

boost::intrusive::priority_compare

Synopsis

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

template<typename T = void> 
struct priority_compare {
  // types
  typedef T    first_argument_type; 
  typedef T    second_argument_type;
  typedef bool result_type;         

  // 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