Click here to Skip to main content
15,885,757 members
Articles / Programming Languages / C++

C++ Copy Constructor in depth

Rate me:
Please Sign up or sign in to vote.
4.17/5 (18 votes)
25 May 2010CPOL4 min read 141.6K   13  
The copy constructor is a special kind of constructor which creates a new object which is a copy of an existing one, and does it efficiently.The copy constructor receives an object of its own class as an argument, and allows to create a new object which is copy of another without building it...

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 (Junior) Texas Instruments
United States United States
Lior Ben Oved is a senior software engineer specializing in the field of data communication & embedded.

Lior have more than 10 years of experience and have been developing in C/C++, assembly, and C#.

Lior has a B.Sc in Computer Science from Ben Gurion University.

Comments and Discussions