Tuesday, 17 April 2012

What is the role of copy constructor in copying of thrown objects? | C++

A copy constructor with a public access specifier must be applied to the objects which are thrown.With the help of a compiler, the code is generated through which copying of thrown objects can be done. The thrown objects must have a copy constructor with the public access specifier.

No comments: