Patreon ► [ Ссылка ]
Twitter ► [ Ссылка ]
Instagram ► [ Ссылка ]
Discord ► [ Ссылка ]
In this video we're talking about copying in C++. Copying objects (and data) is commonly necessary in C++, and to properly facilitate that for our custom types, we need to add something called a copy constructor, which performs a deep copy of our object, if one is necessary. Something called a "(copy) assignment operator" is also sometimes necessary, but we'll talk about that in another video. Copying is not free however, and can slow down your program, so try and avoid it if possible.
Series Playlist ► [ Ссылка ]
Thank you to the following Patreon supporters:
- Samuel Egger
- Dominic Pace
Gear I use:
-----------------
BEST laptop for programming! ► [ Ссылка ]
My FAVOURITE keyboard for programming! ► [ Ссылка ]
FAVOURITE monitors for programming! ► [ Ссылка ]
MAIN Camera ► [ Ссылка ]
MAIN Lens ► [ Ссылка ]
Second Camera ► [ Ссылка ]
Microphone ► [ Ссылка ]
Ещё видео!