[#bsl-vector-086-size] = xref:bsl.adoc[bsl]::xref:bsl/vector-086.adoc[vector<VALUE_TYPE*, ALLOCATOR>]::size :relfileprefix: ../../ :mrdocs: Return the number of elements in this vector. == Synopsis Declared in `<bslstl_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/vector-086/size_type.adoc[vector<VALUE_TYPE*, ALLOCATOR>::size_type] size() const noexcept; ---- == Return Value number of elements in this vector [.small]#Created with https://www.mrdocs.com[MrDocs]#