[#bsl-vector-020-emplace_back]
= xref:bsl.adoc[bsl]::xref:bsl/vector-020.adoc[vector&lt;float&gt;]::emplace&lowbar;back
:relfileprefix: ../../
:mrdocs:

Append to the end of this vector a newly created `value&lowbar;type` object, constructed by forwarding `get&lowbar;allocator()` (if required) and the specified (variable number of) `arguments` to the corresponding constructor of `value&lowbar;type`&period; Return a reference providing modifiable access to the inserted element&period; If an exception is thrown (other than by the move constructor of a non&hyphen;copy&hyphen;insertable `value&lowbar;type`), `&ast;this` is unaffected&period; Throw `std&colon;&colon;length&lowbar;error` if `size() &equals;&equals; max&lowbar;size()`&period; This method requires that the (template parameter) type `VALUE&lowbar;TYPE` be `move&hyphen;insertable` into this vector and `emplace&hyphen;constructible` from `arguments` (see &lcub;Requirements on `VALUE&lowbar;TYPE`&rcub;)&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;vector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class&period;&period;&period; Args&gt;
float&
emplace&lowbar;back(Args&&&period;&period;&period; arguments);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
