O'Reilly logo
  • LI WEI thinks this is interesting:

If a class contains a purely virtual function and is abstract, then that class cannot be instantiated directly.

From

Cover of Learning C++ by Creating Games with UE4

Note

如果一个类哪怕有一个纯虚函数,他将不能被实例化