Behavior of self-assignment with const ref parameter – stackoverflow.com

I stumbled upon some very old code which has a class with a defined copy assignment operator which takes its parameter as a const reference, but also does not check for self-assignment, so ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Behavior of self-assignment with const ref parameter – stackoverflow.com"