File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change 3239
3239
3240
3240
\pnum
3241
3241
\returns
3242
- An iterator pointing to the element
3243
- with the key equivalent to the newly inserted element.
3242
+ The iterator returned by \tcode{emplace}.
3244
3243
3245
3244
\pnum
3246
3245
\complexity
4941
4940
\result
4942
4941
\tcode{iterator}
4943
4942
4944
- \pnum
4945
- \expects
4946
- \tcode{value_type} is
4947
- \oldconcept{EmplaceConstructible} into \tcode{X} from \tcode{args}.
4948
-
4949
4943
\pnum
4950
4944
\effects
4951
- Equivalent to \tcode{a.emplace(std::forward<Args>(args)...)}.
4952
-
4953
- \pnum
4954
- \returns
4955
- An iterator pointing to the element
4956
- with the key equivalent to the newly inserted element.
4957
- The \tcode{const_iterator} \tcode{p} is a hint
4945
+ Equivalent to \tcode{a.emplace(std::forward<Args>(args)...)},
4946
+ except that the \tcode{const_iterator} \tcode{p} is a hint
4958
4947
pointing to where the search should start.
4959
4948
Implementations are permitted to ignore the hint.
4960
4949
4961
4950
\pnum
4962
- \complexity
4963
- Average case \bigoh{1}, worst case \bigoh{\ tcode{a.size()} }.
4951
+ \returns
4952
+ The iterator returned by \ tcode{emplace }.
4964
4953
\end{itemdescr}
4965
4954
4966
4955
\indexunordmem{insert}%
You can’t perform that action at this time.
0 commit comments