Re:C++'s Rule of Zero
by loop2 on Sunday June 28, 2015 @07:45AM
(#9793154)
This isn't about any of that. Any classes you would apply this technique to already have the desired semantics. The rule of zero just argues that you should not write copy/move/destructor functions outside of dedicated resource mananging classes, so that you can write other classes with zero special member functions (other than the main constructors).
[ Parent
| on HN ]
There are no comments on this comment yet.