Paper
13 January 2012 Discussion on copy constructor in C++ programming language
Fafen Luo, Ruiqing Du
Author Affiliations +
Abstract
C++ is a widely used object-orientated programming language in the software industry. The purpose of this paper is to discuss concept and application of the copy constructor, a special constructor in C++. As fundamental knowledge, constructor and destructor were introduced at first. Several examples of copy constructor were presented to illustrate concept of copy constructor and its use. Shallow copy and deep copy were also presented. After discussions on copy constructor by analyzing all the examples of copy constructor, the conclusion was made about that how to define a copy constructor and how to use it properly.
© (2012) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Fafen Luo and Ruiqing Du "Discussion on copy constructor in C++ programming language", Proc. SPIE 8350, Fourth International Conference on Machine Vision (ICMV 2011): Computer Vision and Image Analysis; Pattern Recognition and Basic Technologies, 835025 (13 January 2012); https://doi.org/10.1117/12.920087
Lens.org Logo
CITATIONS
Cited by 1 scholarly publication.
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
C++

Computer programming

Computer programming languages

Lithium

Machine vision

Computer vision technology

Current controlled current source

RELATED CONTENT


Back to Top