SpiceQA
Questions
Tags
Users
Badges
rvalue
84 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Why doesn't `auto &&` behave as a so-called "universal reference" when used as a lambda argument
user_106797
0
•
asked Mar 5, 2022
8
2
222
c++17
rvalue
templates
lambda
c++
What exactly are temporaries in C++ and in which specific cases the compiler will create them?
user_7784558
0
•
asked Feb 2, 2022
4
3
129
temporaries
temporary
rvalue
c++
What are the use cases of class member functions marked &&?
user_1856429
0
•
asked Jan 9, 2022
5
2
106
rvalue
c++
Where is the rvalue coming from?
user_7093241
0
•
asked Dec 30, 2021
3
1
70
lvalue-to-rvalue
rvalue
return-value
c++
Why is move-constructor not called?
user_16739739
0
•
asked Nov 25, 2021
4
1
110
lvalue
rvalue
rvalue-reference
c++11
c++
int a=3; int *p=&a; decltype (a) k1; decltype (*p) k2; k1 is int type and k2 is int& type why?
user_17319723
0
•
asked Nov 8, 2021
3
3
127
decltype
lvalue
rvalue
reference
c++
How do I write a C++ function that takes a reference to either a 'char *' or a 'const char*'?
user_6111567
0
•
asked Oct 13, 2021
3
4
227
rvalue
reference
c++
Why does taking `istream&` to a temporary `stringstream` work, but not when taking `stringstream&`?
user_767632
0
•
asked Sep 24, 2021
6
1
229
rvalue
c++
C++ - auto return reference and non reference type
user_1051805
0
•
asked Sep 18, 2021
2
1
218
auto
lvalue
rvalue
reference
c++
Why it needs a rvalue copy constructor even it won't be called?
user_16822979
0
•
asked Sep 3, 2021
3
1
84
make-shared
lvalue
rvalue
c++11
c++
Prev
Prev
1
2
(current)
3
4
5
Next
Next
Hot Questions