Annex D (normative)
Compatibility features
[depr]
D.25
Deprecated
basic_
string
capacity
[depr.string.capacity]
1
#
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
(
)
;
2
#
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
]