H
Holger Boskugel
Hello,
I'm looking for a solution to hide the default constructor of a class.
In VB6 there was a class type of "Public Not Creatable". I have
tried to write the default ctor as friend or private but the compiler
adds a default ctor. Actual I use the way to set the default ctor
as protected and inside I raise an error if this ctor will be called
from an inheriting class.
Regards
Holger
I'm looking for a solution to hide the default constructor of a class.
In VB6 there was a class type of "Public Not Creatable". I have
tried to write the default ctor as friend or private but the compiler
adds a default ctor. Actual I use the way to set the default ctor
as protected and inside I raise an error if this ctor will be called
from an inheriting class.
Regards
Holger