cpp-best-practices/cppbestpractices

move constructor duplicate in text

cahan0506 opened this issue · 0 comments

Section 03 Style - Consider the Rule of Zero

The Rule of Zero states that you do not provide any of the functions that the compiler can provide (copy constructor, assignment operator, move constructor, destructor, move constructor) unless the class you are constructing does some novel form of ownership.