0

I stumbled on the following code, and as I understand it, it shows a const rvalue reference. What is the use of such a construct, and what do it gain over a normal const lvalue reference?

void foo(const bar&& b);
dalle
  • 18,057
  • 5
  • 57
  • 81

0 Answers0