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