3

I was going through an question What does “default” mean after a class' function declaration? and operator declarations like

  C& operator=(const C&) & = default;
  C& operator=(C&&) & = default;

I wanted to know what does the "&" that precedes the "=" in the assignment operator declarations do?

Sumit Jha
  • 1,491
  • 9
  • 17

0 Answers0