How to prevent a base class from inheritance in C++? : <p>I don't want to make the base class from being derived to a new class. Is there any way to achieve this?
I want to tell the compiler that you can't inherit the base class just like a final keyword in java</p>
