Return how many end insertions remain before iterators are invalidated.
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.
current size plus remaining end-push capacity before iterator invalidation