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 a snapshot of the master branch, built from commit b9ab49fc70.
PrevUpHomeNext

Struct template flat_map_of

boost::container::pmr::flat_map_of

Synopsis

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

template<typename Key, typename T, typename Compare = std::less<Key> > 
struct flat_map_of {
  // types
  typedef boost::container::flat_map< Key, T, Compare, polymorphic_allocator< std::pair< Key, T > > > type;
};

Description

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


PrevUpHomeNext