a pure virtual function yields an abstract class
- 2. Constructors, Destructors, and Assignment Operators
- from Effective C++: 55 Specific Ways to Improve Your Programs and Designs, Third Edition
- Publisher: Addison-Wesley Professional
- Released: May 2005
Indeed, tested on g++, compiler will complain that "cannot declare variable to be of abstract type 'AWOV', becasue the following virtual functions are pure within 'AMOV'.
Share this highlighthttp://www.safaribooksonline.com/a/effective-c-55/632931/