Namespaces
Variants
Views
Actions

Difference between revisions of "Template:cpp/container/dsc emplace"

From cppreference.com
m (leave (C++11) tag only for C++98's adaptors and reduce duplication.)
m (Fix: add (C++11) rev tag to C++98's containers too. Thus `emplace` has (C++11) tag only for all C++98 containers and adaptors.)
 
Line 1: Line 1:
{{dsc mem fun|cpp/container/{{{1|}}}/emplace|notes={{#switch:{{{1|}}}
+
{{dsc mem fun|cpp/container/{{{1|}}}/emplace|notes={{cpp/container/if c++98|{{{1|}}}|{{mark c++11}}}}|constructs element in-place {{#switch:{{{1|}}}
|stack|queue|priority_queue={{mark c++11}}}}|constructs element in-place {{#switch:{{{1|}}}
+
 
|stack=at the top
 
|stack=at the top
 
|queue=at the end
 
|queue=at the end
 
|priority_queue=and sorts the underlying container
 
|priority_queue=and sorts the underlying container
 
}}}}
 
}}}}

Latest revision as of 10:43, 21 December 2023

|- class="t-dsc"

|

| constructs element in-place
(public member function of std::{{{1}}}) |-