Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By RichardS
#89991 What happens if there is no copy constructor... compiler error??
User avatar
By quackmore
#89994 The compiler will do a shallow copy of the object, copying field by field (default copy constructor)

If heap memory is involved you will have runtime troubles