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 develop branch, built from commit 8a475ae4ac.
PrevUpHomeNext

associated_allocator::get

If T has a nested type allocator_type, returns t.get_allocator(). Otherwise returns type().

static decltype(auto) get(
    const T & t);
  » more...

If T has a nested type allocator_type, returns t.get_allocator(). Otherwise returns a.

static decltype(auto) get(
    const T & t,
    const Allocator & a);
  » more...

PrevUpHomeNext