Click here to Skip to main content
15,886,362 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.6K   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.
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

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