Namespaces
Variants
Views
Actions

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

From cppreference.com
m (Text replace - "{{mark c++0x}}" to "{{mark c++11}}")
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.)
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{#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
+
|stack=at the top
= {{dcl list mem fun | cpp/container/{{{1|}}}/emplace | constructs element in-place at the top | notes={{mark c++11}} }}
+
|queue=at the end
| queue
+
|priority_queue=and sorts the underlying container
= {{dcl list mem fun | cpp/container/{{{1|}}}/emplace | constructs element in-place at the end | notes={{mark c++11}} }}
+
}}}}
| priority_queue
+
= {{dcl list mem fun | cpp/container/{{{1|}}}/emplace | constructs element in-place and sorts the underlying container | notes={{mark c++11}} }}
+
| {{dcl list mem fun | cpp/container/{{{1|}}}/emplace | constructs element in-place | notes={{cpp/container/mark c++0x|{{{1|}}}}} }}
+
}}
+

Latest revision as of 10:43, 21 December 2023

|- class="t-dsc"

|

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