[#bsl-priority_queue-034-emplace] = xref:bsl.adoc[bsl]::xref:bsl/priority_queue-034.adoc[priority_queue]::emplace :relfileprefix: ../../ :mrdocs: Emplace a newly constructed element into this priority queue. == Synopsis Declared in `<bslstl_priorityqueue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class... Args> void emplace(Args&&... args); ---- == Description Insert into this priority queue a newly created `value_type` object, constructed by forwarding the specified (variable number of) `args` to the corresponding constructor of `value_type`. In effect, performs `c.emplace_back(FORWARD(Args,args)...);`. == Parameters [cols="1,4"] |=== | Name| Description | *args* | constructor arguments forwarded to `value_type` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#