I.T. Discussion Community!
-Collapse +Expand
C++
Search C++ Group:

Advanced
-Collapse +Expand C++ To/From
To/FromCODEGuides
-Collapse +Expand C++ Study Test
PRESTWOODCERTIFIED
-Collapse +Expand C++ Store
PRESTWOODSTORE

Prestwood eMagazine

March Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyC++ Board   Print This     

Standard C++ Topic

Anything to do with the standard C++ language.
  


1 Threads:

Add New ThreadRandom Thread

Thread 1 of 1
Thread Starter  

Alagu_Sundari
class that should not be inherited.
How to write the class such that it should not be inherited by other class.
11 years ago
1 Reply:

mprestwood
For C++, to prevent derivation make the constructor a private member of the class. In .Net you use the keyword sealed and in java you use a final class.
11 years ago
Nothing New Since Your Last Visit
6086
Hits

New Thread
-
   Contact Us!
 
PrestwoodBoards.com was developed and is maintainted by me. Do you have a question or suggestion? Do you see a problem? Contact me now. My goal is to build an ad-free and spam-free source of I.T. information with many contributers (ok to promote your website/company in your bio). Yes, my company Prestwood IT Solutions is mentioned in my bio which shows with every post, but you can contribute and promote your pet project too!

2,167 People Online Now!!  
Sign In to see who's online now!  Not a member? Join now. It's free!
Show more stats...


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech