jump to navigation

C++ Article: The Rule Of Three 03.02.06

Posted by wimac in programming.

The Rule Of Three is an absolute must to understand for any C++ programmer. It covers the copy constructor, operator=() and the destructor as a combination to fulfill some basic and fundamental requirements when it comes to building a class (or C++ struct) where members allocate memory in a dynamic way.

read more | digg story



No comments yet — be the first.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: