Proposed resolution:
To class template deque [deque] synopsis, add:
void shrink_to_fit();
To deque capacity [deque.capacity], add:
void shrink_to_fit();Remarks: shrink_to_fit is a non-binding request to reduce memory use. [Note: The request is non-binding to allow latitude for implementation-specific optimizations. — end note]