C++ question
Guillaume Laurent
glaurent at telegraph-road.org
Wed Sep 25 12:31:05 BST 2002
On Wednesday 25 September 2002 13:25, Michael Goffioul wrote:
> Can I call a pure virtual function in the constructor of the abstract
> class?
No, because virtuals aren't virtual when you are in the ctor of class.
Therefore you'd be calling a pure virtual function, regardless of it being
implemented by a child class.
--
Guillaume
http://www.telegraph-road.org
More information about the kde-core-devel
mailing list