bsl::List_AllocAndSizeWrapper::List_AllocAndSizeWrapper

Create an allocator and size wrapper with basicAllocator and size.

Synopsis

Declared in <bslstl_list.h>

List_AllocAndSizeWrapper(
    NodeAlloc const& basicAllocator,
    size_type size);

Parameters

NameDescription
basicAllocatorallocator stored in this wrapper
sizeinitial element count