[#bsl-vector-008-size]
= xref:bsl.adoc[bsl]::xref:bsl/vector-008.adoc[vector&lt;Json&gt;]::size
:relfileprefix: ../../
:mrdocs:

Return the number of elements in this vector&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/vectorBase-06a/size_type.adoc[size&lowbar;type]
size() const noexcept;
----


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