Click here to Skip to main content
15,896,269 members
Articles / Programming Languages / C++

Single point construction of hierarchical objects in C++

Rate me:
Please Sign up or sign in to vote.
4.59/5 (24 votes)
1 Dec 2010CPOL2 min read 40.8K   33  
Prohibit construction of hierarchical objects both on the heap and on the stack, and allow construction from a single construction point in the base class.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Marvell
Israel Israel
17 years experience software engineer at Marvell company in Israel.

Comments and Discussions