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 =
This has to do with the reference collapsing rules in type deduction.
A& & becomes A& A& && becomes A& A&& & becomes A& A&& && becomes A&&