[#BloombergLP-bdlar-bdlat_arraySize-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::bdlat&lowbar;arraySize
:relfileprefix: ../../
:mrdocs:

Return the number of elements in the specified `array`&period;

== Synopses

Declared in `&lt;bdlar&lowbar;arrayref&period;h&gt;`

Return the number of elements in the specified `array`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
xref:BloombergLP/bdlar/bdlat_arraySize-00.adoc[bdlat&lowbar;arraySize](xref:BloombergLP/bdlar/ArrayConstRef.adoc[ArrayConstRef] const& array);
----

[.small]#xref:BloombergLP/bdlar/bdlat_arraySize-00.adoc[_» more&period;&period;&period;_]#

Return the number of elements in the specified `array`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
xref:BloombergLP/bdlar/bdlat_arraySize-0f.adoc[bdlat&lowbar;arraySize](xref:BloombergLP/bdlar/ArrayRef.adoc[ArrayRef] const& array);
----

[.small]#xref:BloombergLP/bdlar/bdlat_arraySize-0f.adoc[_» more&period;&period;&period;_]#

== Return Value

number of elements in `array`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *array*
| array reference to query
|===


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