asio C++ library

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