Given the code below, everything works. How come that the variable d is reference to int? What is going on?
int main() { int a= 10; int &&b =
auto&& invokes perfect forwarding. As a is an lvalue of type int, d is an lvalue reference to int.
auto&&
a
int
d