Let's consider this code:
int i=0;
using U = int&;
U&& x = i;
using V = int&&;
V& y = i;
Could you please explain the motivation for these two reference collapsing rules?
Let's consider this code:
int i=0;
using U = int&;
U&& x = i;
using V = int&&;
V& y = i;
Could you please explain the motivation for these two reference collapsing rules?