SpiceQA
Questions
Tags
Users
Badges
emplace
25 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
How does std::map's emplace() avoid premature construction?
user_16320854
0
•
asked Apr 16, 2022
2
2
78
emplace
variadic-templates
c++-standard-library
templates
c++
C++: insert element into std::map<MyStruct> where MyStruct can only be aggregate initialized and contains const unique pointers
user_3825996
0
•
asked Mar 15, 2022
2
2
97
emplace
aggregate-initialization
stdmap
c++
Pointer to const object with emplace_back
user_3832877
0
•
asked Nov 26, 2021
2
1
83
emplace
c++17
constants
stl
c++
C++ vector emplace_back fail with piecewise_construct
user_5464344
0
•
asked Nov 4, 2021
2
0
35
emplace
perfect-forwarding
c++
Vector of Base unique_ptr causes object slicing on emplace_back(new T())
user_1272911
0
•
asked Sep 22, 2021
2
2
103
emplace
unique-ptr
stdvector
templates
c++
Replace a variable of a type with const members
user_4321462
0
•
asked Jun 17, 2021
3
2
146
emplace
assignment-operator
variable-assignment
constants
c++
Why does Clang 12 refuse to initialize aggregates in the C++20 way?
user_7325599
0
•
asked Jun 16, 2021
5
1
479
emplace
aggregate-initialization
c++20
clang
c++
Does emplace_hint on std::multimap preserves the relative ordering of equivalent elements?
user_10250892
0
•
asked Dec 25, 2020
3
1
131
emplace
multimap
c++
How to emplace to a std::vector of std::array?
user_1827955
0
•
asked Dec 2, 2020
4
1
722
emplace
stdarray
stdvector
c++
Is it possible to emplace a std::array in a container? If it is how? If not, why?
user_5825294
0
•
asked Nov 19, 2020
4
1
1774
emplace
stdarray
c++11
c++
1
(current)
2
3
Next
Next
Hot Questions