SpiceQA
Questions
Tags
Users
Badges
copy-and-swap
7 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Why is std::swap preferred over std::move when dealing with temporaries?
user_5690248
0
•
asked Jul 26, 2022
2
0
99
move-semantics
copy-and-swap
c++
Copy-Assignment Operator of class uses (copy and swap) and ordinary implement give different result
user_16257387
0
•
asked Jan 10, 2022
2
0
68
copy-and-swap
copy-constructor
c++
swapList() and operator=() functions in a LinkedList class keep crashing in C++
user_15149613
0
•
asked Sep 14, 2021
1
1
57
singly-linked-list
copy-and-swap
c++
Implementing the swap in the copy and swap idiom
user_1113697
0
•
asked Mar 15, 2016
4
5
812
copy-and-swap
copy-constructor
assignment-operator
c++11
c++
Why do some people use swap for move assignments?
user_538370
0
•
asked Jul 14, 2011
72
4
30540
move-semantics
copy-and-swap
rvalue-reference
c++11
c++
What is the copy-and-swap idiom?
user_87234
0
•
asked Jul 19, 2010
2283
5
444762
copy-and-swap
copy-constructor
assignment-operator
c++-faq
c++
What is copy elision and how does it optimize the copy-and-swap idiom?
user_253699
0
•
asked Jan 27, 2010
34
2
10051
copy-elision
copy-and-swap
optimization
c++
1
(current)
Hot Questions