0

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?

beginpluses
  • 497
  • 2
  • 9

0 Answers0