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

allocator_binder::allocator_binder

Construct an allocator wrapper for the specified object.

template<
    typename U>
allocator_binder(
    const allocator_type & s,
    U && u);
  » more...

Copy constructor.

allocator_binder(
    const allocator_binder & other);
  » more...

Construct a copy, but specify a different allocator.

allocator_binder(
    const allocator_type & s,
    const allocator_binder & other);
  » more...

Construct a copy of a different allocator wrapper type.

template<
    typename U,
    typename OtherAllocator>
allocator_binder(
    const allocator_binder< U, OtherAllocator > & other);
  » more...

Construct a copy of a different allocator wrapper type, but specify a different allocator.

template<
    typename U,
    typename OtherAllocator>
allocator_binder(
    const allocator_type & s,
    const allocator_binder< U, OtherAllocator > & other);
  » more...

Move constructor.

allocator_binder(
    allocator_binder && other);
  » more...

Move construct the target object, but specify a different allocator.

allocator_binder(
    const allocator_type & s,
    allocator_binder && other);
  » more...

Move construct from a different allocator wrapper type.

template<
    typename U,
    typename OtherAllocator>
allocator_binder(
    allocator_binder< U, OtherAllocator > && other);
  » more...

Move construct from a different allocator wrapper type, but specify a different allocator.

template<
    typename U,
    typename OtherAllocator>
allocator_binder(
    const allocator_type & s,
    allocator_binder< U, OtherAllocator > && other);
  » more...

PrevUpHomeNext