[#bsl-Deque_Guard-count]
= xref:bsl.adoc[bsl]::xref:bsl/Deque_Guard.adoc[Deque&lowbar;Guard]::count
:relfileprefix: ../../
:mrdocs:

Return the current count maintained by this guard&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
count() const noexcept;
----

== Return Value

current count of guarded elements


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