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 to view this page for the latest version.
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 >::type                                                                                                               packed_options;        
  typedef unspecified                                                                                                                                                        value_traits;          
  typedef treap< value_traits, typename packed_options::compare, typename packed_options::priority, typename packed_options::size_type, packed_options::constant_time_size > 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