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: | ||
− | {{ | + | {{dsc mem fun|cpp/container/{{{1|}}}/emplace|notes={{cpp/container/if c++98|{{{1|}}}|{{mark c++11}}}}|constructs element in-place {{#switch:{{{1|}}} |
− | + | |stack=at the top | |
− | + | |queue=at the end | |
− | | | + | |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}}}
)
|-