Return how many end insertions remain before iterators are invalidated.
Synopsis
Declared in <bslstl_deque.h>
Deque_Base<VALUE_TYPE>::size_type
capacity() const noexcept;
Description
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.
Return Value
current size plus remaining end‐push capacity before iterator invalidation
Created with MrDocs