Annex D (normative) Compatibility features [depr]

D.23 Deprecated basic_­string capacity [depr.string.capacity]

The following member is declared in addition to those members specified in [string.capacity]: namespace std { template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT>> class basic_string { public: void reserve(); }; }
void reserve();
Effects: After this call, capacity() has an unspecified value greater than or equal to size().
[Note 1:
This is a non-binding shrink to fit request.
— end note]