how to prevent a class to be derived? Thanks
inheritance
Collapse
This topic is closed.
X
X
-
junw2000@gmail.comTags: None -
mast2as@yahoo.com
Re: inheritance
junw2000@gmail. com wrote:I imagine you can make its constructor & destructor private ...how to prevent a class to be derived? Thanks
-
Sumit Rajan
Re: inheritance
junw2000@gmail. com wrote:See:how to prevent a class to be derived? Thanks
>
Regards,
Sumit
--
Sumit RAJAN <sumit.rajan@ge oconcept.com>
Comment
-
Ron Natalie
Re: inheritance
mast2as@yahoo.c om wrote:Has no effect on derivation.junw2000@gmail. com wrote:>>how to prevent a class to be derived? Thanks
I imagine you can make its constructor & destructor private ...
>
Comment
-
roods
Re: inheritance
Can you explain what you mean by "has no effect on derivation"? How can
the dervied class call the base classes ctor if it is private?
Just curious.
Ron Natalie wrote:mast2as@yahoo.c om wrote:Has no effect on derivation.junw2000@gmail. com wrote:I imagine you can make its constructor & destructor private ...how to prevent a class to be derived? ThanksComment
Comment