SpiceQA
Questions
Tags
Users
Badges
c++
36421 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
In C++, placement new and copy constructor implementing copy assignment operator, is it a good practice?
user_11589140
0
•
asked Dec 28, 2021
3
0
98
copy-assignment
placement-new
copy-constructor
c++
If the unique pointer constructor is explicit why is it possible to assign it to make_unique<T>()?
user_9074215
0
•
asked Dec 28, 2021
2
0
190
unique-ptr
implicit-conversion
c++
Why is this optimized away by modern compilers for C++11 and higher
user_279711
0
•
asked Dec 28, 2021
3
1
89
c++
Why don't methods defined in classes in C++ need forward declarations when referring to methods that only show up later in the class?
user_130758
0
•
asked Dec 28, 2021
8
2
147
language-lawyer
c++
C++ pointer member initialization
user_11969878
0
•
asked Dec 28, 2021
2
1
44
pointers
object
new-operator
scope
c++
std::allocator deallocate don't use size argument
user_16331360
0
•
asked Dec 28, 2021
2
3
73
allocator
g++
valgrind
c++
Why would one want to put a unary plus (+) operator in front of a C++ lambda?
user_17083118
0
•
asked Dec 28, 2021
17
2
929
lambda
c++
Why (void*)p instead of static_cast<void*>(p) in C++ standard?
user_10276620
0
•
asked Dec 28, 2021
9
0
168
static-cast
c++
pybind11 py::class_.def_property_readonly_static incompatible function arguments for () -> str
user_4438921
0
•
asked Dec 28, 2021
2
1
331
pybind11
static-methods
python
c++
std::erase_if delete an extra elements on std::vector?
user_1393777
0
•
asked Dec 28, 2021
13
1
565
c++20
c++
Prev
Prev
566
567
568
(current)
569
570
Next
Next
Hot Questions