BloombergLP::bslma::StdTestAllocator::allocate

Allocate enough (properly aligned) space for the specified n objects of (template parameter) TYPE by calling allocate on the mechanism object. The optionally specified hint argument is ignored by this test allocator type. The behavior is undefined unless n <= max_size().

Synopsis

Declared in <bslma_stdtestallocator.h>

StdTestAllocator<TYPE>::pointer
allocate(
    size_type n,
    void const* hint = 0);