std::{{{1}}}::emplace_back
From cppreference.com
Revision as of 02:39, 11 November 2011 by 199.172.169.87 (Talk)
Template:cpp/container//sidebar
template< class... Args > void emplace_back( Args&&... args ); |
Template:mark c++11 feature | |
Appends a new element to the end of the container. The element is constructed in-place, i.e. no copy or move operations are performed. The constructor of the element is called with exactly the same arguments, as supplied to the function.
Contents |
Parameters
args | - | arguments to forward to the constructor of the element |
Return value
(none)
Complexity
Constant.