bsl::allocator<void>::allocator

Constructors

Synopses

Declared in <bslma_bslallocator.h>

Create an allocator that uses the default allocator mechanism.

allocator();
» more...

Create an allocator that copies original.

constexpr
allocator(allocator<void> const& original) noexcept = default;
» more...

Convert a bslma::Allocator pointer to an allocator object.

allocator(BloombergLP::bslma::Allocator* mechanism);
» more...

Create an allocator sharing the mechanism of the specified original.

template<class ANY_TYPE>
allocator(allocator<ANY_TYPE> const& original) noexcept;
» more...

Parameters

NameDescription
originalallocator whose mechanism is shared
mechanismallocator mechanism to use; if 0, use the default