Get it
Learn it
Advanced
Define kind of copies. More…
#include <CImage.h> enum copy_type_t { SHALLOW_COPY = 0, DEEP_COPY = 1, };
Define kind of copies.
SHALLOW_COPY
Shallow copy: the copied object is a reference to the original one.
DEEP_COPY
Deep copy: the copied object has a duplicate of all data, becoming independent.