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


// (C) Copyright Ion Gaztanaga 2008
// Distributed under the Boost Software License, Version 1.0.
//    (See accompanying file LICENSE_1_0.txt or copy at
// See for documentation.


#include <boost/intrusive/detail/config_begin.hpp>
#include <boost/intrusive/intrusive_fwd.hpp>

#include <functional>

namespace boost {
namespace intrusive {

template <class T>
struct priority_compare
   : public std::binary_function<T, T, bool>
   bool operator()(const T &val, const T &val2) const
      return priority_order(val, val2);

} //namespace intrusive 
} //namespace boost 

#include <boost/intrusive/detail/config_end.hpp>