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

Image &Image::operator = (const Image &img)

Parameter Description

Parameter

Input/Output

Description

img

Input

Inputs of the Image class