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 flat_set_of

boost::container::pmr::flat_set_of

Synopsis

// In header: <boost/container/pmr/flat_set.hpp>

template<typename Key, typename Compare = std::less<Key> > 
struct flat_set_of {
  // types
  typedef boost::container::flat_set< Key, Compare, polymorphic_allocator< Key > > type;
};

Description

A portable metafunction to obtain a flat_set that uses a polymorphic allocator


PrevUpHomeNext