[#bsl-slist-max_size] = xref:bsl.adoc[bsl]::xref:bsl/slist.adoc[slist]::max_size :relfileprefix: ../../ :mrdocs: Return an upper bound on the number of elements this list can hold. == Synopsis Declared in `<bslstp_slist.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/slist/size_type.adoc[size_type] max_size() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#