A data member has been declared with the virtual specifier.
Only member functions can be declared virtual.
For example:
class myclass { public: virtual int a; //error };
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|