Photo 1 of 1 in Wall Photos

Learn C++ | What is the Rule of Zero in C++?

 

In C++, the Rule
of Zero in C++ is essentially states that no further work is needed if
every member has access to its default member functions. The most logical and
well-organized programming semantics is this one. The compiler offers default
implementations for all of the default member functions if none of the special
member functions are user-defined.

Comments

0 comments