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 an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Struct template make_treap

boost::intrusive::make_treap

Synopsis

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

template<typename T, class ... Options> 
struct make_treap {
  // types
  typedef pack_options< treap_defaults, O1, O2, O3, O4, O5, O6, O7 >::type                                                                                                                                                                                                                                   packed_options;        
  typedef unspecified                                                                                                                                                                                                                                                                                        value_traits;          
  typedef treap< 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;                  
};

Description

Helper metafunction to define a treap that yields to the same type when the same options (either explicitly or implicitly) are used.


PrevUpHomeNext