BloombergLP::bdlb::NullableAllocatedValue::get_allocator

Return the allocator used by this object to supply memory.

Synopsis

Declared in <bdlb_nullableallocatedvalue.h>

bsl::allocator<char>
get_allocator() const;

Description

Return a bsl::allocator constructed from the bslma::Allocator used by this object to supply memory. Note that if no allocator was supplied at construction the default allocator in effect at construction is used.

Return Value

allocator used by this object to supply memory