Table 101 — Optional sequence container operations
Expression:
a.emplace_back(args)
Return type:
void
Operational semantics:
Appends an object of typeT
constructed withstd::forward<Args>(args)...
.
Requires: T shall be EmplaceConstructible intoX
fromargs
. Forvector
, T shall also be MoveInsertable into X.
§ 23.2.1.13
— T is EmplaceConstructible into X from args, for zero or more arguments args, means that the following expression is well-formed:
allocator_traits<A>::construct(m, p, args);