C++ question

Michael Goffioul goffioul at imec.be
Wed Sep 25 12:25:02 BST 2002


Can I call a pure virtual function in the constructor of the abstract
class? That is

class A
{
public:
   A() { func(); }
   virtual void func() = 0;
};

Michael.

-- 
------------------------------------------------------------------
Michael Goffioul		IMEC-DESICS-MIRA
e-mail: goffioul at imec.be	(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510		Kapeldreef, 75
Fax:    +32/16/28-1515		3001 HEVERLEE, BELGIUM
------------------------------------------------------------------




More information about the kde-core-devel mailing list