3 ms·
It is usually called rule of five, 3 is half of it and makes people sometimes forget to write move assignment. I'm pretty sure business do not like to actually
by AstralStorm 8y ago
It is usually called rule of five, 3 is half of it and makes people sometimes forget to write move assignment.
I'm pretty sure business do not like to actually train people nowadays. :)
- slavik81 8y agoI originally wrote "Rule-of-Three / Rule-of-Five / Rule-of-Zero" but regrettably, I cut it for brevity.
- jemfinch 8y agoBy volume of content it's "usually" called the rule of 3, because the rule of 5 didn't exist until C++11, and most of the C++ content was written before moving was a thing. It's now called the rule of 5.