From Jason Turner

[depr.string.capacity]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpkpd0p0rk/{from.md → to.md} +0 -25
tmp/tmpkpd0p0rk/{from.md → to.md} RENAMED
@@ -1,25 +0,0 @@
1
- ## Deprecated `basic_string` capacity <a id="depr.string.capacity">[[depr.string.capacity]]</a>
2
-
3
- The following member is declared in addition to those members specified
4
- in [[string.capacity]]:
5
-
6
- ``` cpp
7
- namespace std {
8
- template<class charT, class traits = char_traits<charT>,
9
- class Allocator = allocator<charT>>
10
- class basic_string {
11
- public:
12
- void reserve();
13
- };
14
- }
15
- ```
16
-
17
- ``` cpp
18
- void reserve();
19
- ```
20
-
21
- *Effects:* After this call, `capacity()` has an unspecified value
22
- greater than or equal to `size()`.
23
-
24
- [*Note 1*: This is a non-binding shrink to fit request. — *end note*]
25
-