devxlogo

Assignment operator is not inherited

Assignment operator is not inherited

Unlike ordinary base class member functions, assignment operator is not inherited. It may be re-defined by the implementer of the derived class or else it is automatically synthesized by the compiler, so there’s not much point in declaring it virtual.

devx-admin

Share the Post: