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 0c8df13a06.
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