...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::intrusive::make_treap_multiset
// In header: <boost/intrusive/treap_set.hpp> template<typename T, class ... Options> struct make_treap_multiset { // types typedef pack_options< treap_defaults, O1, O2, O3, O4, O5, O6, O7 >::type packed_options; typedef unspecified value_traits; typedef treap_multiset< value_traits, typename packed_options::key_of_value, typename packed_options::compare, typename packed_options::priority_of_value, typename packed_options::priority, typename packed_options::size_type, packed_options::constant_time_size, typename packed_options::header_holder_type > implementation_defined; typedef implementation_defined type; };
Helper metafunction to define a treap_multiset
that yields to the same type when the same options (either explicitly or implicitly) are used.