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 set_of

boost::container::pmr::set_of

Synopsis

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

template<typename Key, typename Compare = std::less<Key>, 
         typename Options = tree_assoc_defaults> 
struct set_of {
  // types
  typedef boost::container::set< Key, Compare, polymorphic_allocator< Key >, Options > type;
};

Description

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


PrevUpHomeNext