Skip to content

Glossary: C++ Beyond the Basics

Rule of zero

If every member already copies and moves correctly, as `std::string` and `std::vector` do, write none of the special members.

Where the book teaches it

Related terms

Rule of five