SpiceQA
Questions
Tags
Users
Badges
temporary-objects
26 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Temporary objects that are usable in constant expressions
user_19495502
0
•
asked Sep 18, 2022
8
3
219
temporary-objects
constant-expression
c++20
language-lawyer
c++
Why r-value reference to pointer to const initialized with pointer to non-const doesn't create an temporary and bind it with it?
user_19464245
0
•
asked Jul 17, 2022
6
4
100
temporary-objects
pointers
rvalue-reference
reference
c++
A tuple of references as a function parameter
user_9261322
0
•
asked Jul 13, 2022
2
2
114
temporary-objects
c++20
c++
Is throwing a temporary value as reference undefined behavior?
user_5771029
0
•
asked Jun 17, 2022
2
2
106
temporary-objects
exception
reference
c++
C++ How to store object in arrays without them deleted
user_9243276
0
•
asked Nov 8, 2021
2
2
180
copy-assignment
temporary-objects
destructor
class
c++
What is the storage duration of a temporary object: automatic, thread, static, or dynamic?
user_2326961
0
•
asked Sep 13, 2021
2
2
101
temporary-objects
storage-duration
c++
What is the lifetime of a temporary object bound to a reference in a new-initializer?
user_2326961
0
•
asked Sep 6, 2021
4
1
75
temporary-objects
object-lifetime
new-operator
reference
c++
Dangling reference when returning reference to reference parameter bound to temporary
user_15303299
0
•
asked Aug 9, 2021
3
1
199
temporary-objects
return-by-reference
pass-by-reference
c++
What operations with temporary object can prevent its lifetime prolongation?
user_7325599
0
•
asked Jul 20, 2021
4
1
85
temporary-objects
object-lifetime
c++
Why are C++ objects destroyed when initialized inside function? What can I do to prevent it?
user_14031636
0
•
asked Jul 14, 2021
3
3
314
temporary-objects
c++
1
(current)
2
3
Next
Next
Hot Questions