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

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 >::type                                                                                                                               packed_options;        
  typedef unspecified                                                                                                                                                                            value_traits;          
  typedef unspecified                                                                                                                                                                            header_holder_type;    
  typedef treap< value_traits, typename packed_options::compare, typename packed_options::priority, typename packed_options::size_type, packed_options::constant_time_size, 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