operator =
Function Usage
Reloads the equal sign (=) operator to perform a deep copy between member variables and shallow copy between memory data. During the process, the reference counting increases by one.
Prototype
1 | Image &operator = (const Image &img); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
img |
Input |
Inputs of the Image class |
Parent topic: Image