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 an older version of Boost and was released in 2023. The current version is 1.90.0.
boost::intrusive::priority_of_value
// In header: <boost/intrusive/options.hpp> template<typename PrioOfValue> struct priority_of_value { };
This option setter specifies a function object that specifies the type of the priority of a treap container and an operator to obtain it from a value type.
This function object must the define a type member typedef and a member with signature type [const&] operator()(const value_type &) const that will return the priority from a value_type of a treap container