This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++11 status.
Section: 22.214.171.124 [deque.capacity] Status: C++11 Submitter: BSI Opened: 2010-08-25 Last modified: 2017-05-31
Priority: Not Prioritized
View all other issues in [deque.capacity].
View all issues with C++11 status.
There is no mention of what happens if sz==size(). While it obviously does nothing I feel a standard needs to say this explicitely.
[ 2010 Batavia ]
Accepted with a simplified resolution turning one of the < comparisons into <=.
void resize(size_type sz);
Effects: If sz < size(), equivalent to erase(begin() +
sz, end());. If size() < sz, appends sz - size()
constructed elements to the sequence.