Hi,
Suppose i have a class and i have defined it in stack.
MyClass class;
when i copy this class into another:
class = anotherClass;
will the pointers which i have defined it in the object will copy or not?
I have a list of pointers in my class and i just want to copy my object into another object,
so i want to copy list of pointers too. I want to for example if i delete these pointers from original class, then the copied don’t change.
more infor: myClass is not type of QObject
↧