| Home | Libraries | People | FAQ | More

## 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 treap< value_traits, typename packed_options::compare, 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.