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.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: