Making base class non-inheritable

I

Indraseena

Hi,

Can any one write me how to create a class which cannot be
inherited by any other calls.

example :

Class base{

};

class derived{

};

so here class Base should not get inherited to derived calss. How can
this be done?
Any work around available in C++??

Rgrds
Indra
 
I

Indraseena

Hi,

I meant to say very quick and fast reply. Please dont take me in
other way.

Thanks & Regards
Murali
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,480
Members
44,900
Latest member
Nell636132

Latest Threads

Top