File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 853
853
854
854
\pnum
855
855
In all cases,
856
- \tcode {size() <= capacity()}.
856
+ \crange {data()}{data() + size()} is a valid range,
857
+ \tcode {data() + size()} points at an object with value \tcode {charT()}
858
+ (a `` null terminator'' \indextext {string!null terminator}),
859
+ and \tcode {size() <= capacity()} is \tcode {true}.
857
860
858
861
\pnum
859
862
The functions described in this Clause can report two
1202
1205
1203
1206
\pnum
1204
1207
\postconditions
1205
- \tcode {data()} is a non-null pointer that is copyable and can have \tcode {0} added
1206
- to it, \tcode {size()} is \tcode {0}, and \tcode {capacity()} is an unspecified value.
1208
+ \tcode {size()} is \tcode {0} and \tcode {capacity()} is an unspecified value.
1207
1209
\end {itemdescr }
1208
1210
1209
1211
\indexlibrary {\idxcode {basic_string}!constructor}%
You can’t perform that action at this time.
0 commit comments