[#bsl-Deque_Base-capacity] = xref:bsl.adoc[bsl]::xref:bsl/Deque_Base.adoc[Deque_Base]::capacity :relfileprefix: ../../ :mrdocs: Return the sum of the current size of this deque plus the minimum number of `push_front` or `push_back` operations needed to invalidate iterators in this deque. Note that this method is not part of the C++ standard. == Synopsis Declared in `<bslstl_deque.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/Deque_Base/size_type.adoc[Deque_Base<VALUE_TYPE>::size_type] capacity() const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#