Talk:cpp/container/deque/shrink to fit

Are iterators and references invalidated even if no reallocation happens? 85.18.102.222 07:21, 30 June 2017 (PDT)
 * Yes, that's what the standard says. T. Canens (talk) 12:12, 30 June 2017 (PDT)

Fix to the example comments
The comment in the example should say: "Calling shrink_to_fit *may* free any unused memory" (the request is non-binding).