File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 224
224
225
225
\begin {itemdescr }
226
226
\pnum
227
- \requires
228
- \tcode {state_type}
229
- shall meet the
227
+ \expects
228
+ \tcode {state_type} meets the
230
229
\oldconcept {Destructible} (\tref {destructible }),
231
230
\oldconcept {CopyAssignable} (\tref {copyassignable }),
232
231
\oldconcept {CopyConstructible} (\tref {copyconstructible }), and
2276
2275
\end {itemdecl }
2277
2276
2278
2277
\begin {itemdescr }
2278
+ \pnum
2279
+ \effects
2280
+ Inserts \tcode {n} copies of \tcode {c} before the character at position \tcode {pos}
2281
+ if \tcode {pos < size()},
2282
+ or otherwise at the end of the string.
2283
+
2284
+ \pnum
2285
+ \returns
2286
+ \tcode {*this}
2287
+
2279
2288
\pnum
2280
2289
\throws
2281
2290
\begin {itemize }
2282
2291
\item \tcode {out_of_range} if \tcode {pos > size()},
2283
2292
\item \tcode {length_error} if \tcode {n > max_size() - size()}, or
2284
2293
\item any exceptions thrown by \tcode {allocator_traits<Allocator>::allocate}.
2285
2294
\end {itemize }
2286
- \pnum
2287
- \effects
2288
- Inserts \tcode {n} copies of \tcode {c} before the character at position \tcode {pos}
2289
- if \tcode {pos < size()},
2290
- or otherwise at the end of the string.
2291
2295
\end {itemdescr }
2292
2296
2293
2297
\indexlibrarymember {insert}{basic_string}%
4092
4096
\end {itemdecl }
4093
4097
4094
4098
\begin {itemdescr }
4095
- \pnum
4096
- \effects
4097
- Constructs an empty \tcode {basic_string_view}.
4098
-
4099
4099
\pnum
4100
4100
\ensures
4101
4101
\tcode {size_ == 0} and \tcode {data_ == nullptr}.
You can’t perform that action at this time.
0 commit comments