BloombergLP::bslma::AllocatorUtil::adapt

Return the bslma::Allocator pointer held by from.

Synopsis

Declared in <bslma_allocatorutil.h>

template<class t_TYPE>
static
bslma::Allocator*
adapt(bsl::allocator<t_TYPE> const& from);

Return Value

the bslma::Allocator pointer held by from

Parameters

NameDescription
frombsl::allocator to adapt