[#bsl-List_AllocAndSizeWrapper-size-08]
= xref:bsl.adoc[bsl]::xref:bsl/List_AllocAndSizeWrapper.adoc[List&lowbar;AllocAndSizeWrapper]::size
:relfileprefix: ../../
:mrdocs:

Return a reference providing non&hyphen;modifiable access to the `size` field of this object&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;list&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/List_AllocAndSizeWrapper.adoc[List&lowbar;AllocAndSizeWrapper&lt;VALUE, ALLOCATOR&gt;::size&lowbar;type] const&
size() const;
----

== Return Value

non&hyphen;modifiable reference to the size field


[.small]#Created with https://www.mrdocs.com[MrDocs]#
