[#bsl-List_AllocAndSizeWrapper-2constructor] = xref:bsl.adoc[bsl]::xref:bsl/List_AllocAndSizeWrapper.adoc[List_AllocAndSizeWrapper]::List_AllocAndSizeWrapper :relfileprefix: ../../ :mrdocs: Create an allocator and size wrapper with `basicAllocator` and `size`. == Synopsis Declared in `<bslstl_list.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- List_AllocAndSizeWrapper( xref:bsl/List_AllocAndSizeWrapper.adoc[NodeAlloc] const& basicAllocator, xref:bsl/List_AllocAndSizeWrapper.adoc[size_type] size); ---- == Parameters [cols="1,4"] |=== | Name| Description | *basicAllocator* | allocator stored in this wrapper | *size* | initial element count |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#