[#bsl-List_AllocAndSizeWrapper-size-08] = xref:bsl.adoc[bsl]::xref:bsl/List_AllocAndSizeWrapper.adoc[List_AllocAndSizeWrapper]::size :relfileprefix: ../../ :mrdocs: Return a reference providing non‐modifiable access to the `size` field of this object. == Synopsis Declared in `<bslstl_list.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/List_AllocAndSizeWrapper.adoc[List_AllocAndSizeWrapper<VALUE, ALLOCATOR>::size_type] const& size() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#