| Home | Libraries | People | FAQ | More

## Struct template priority_compare

boost::intrusive::priority_compare

## Synopsis

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

    template<typename T>
    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;