Hi, I would like to copy list elements in copy constructor of my class.
Elements in list are pointers.
Of course, it is important to clone list elements, not only to copy pointers.
I get ERROR message for iter = other._myList.begin(); and iter != other._myList.end();. it's underlined in code..
Here is first one error message: 56 no match for'operator=' in 'iter = (((const std::list<MyBaseClass*, std::allocator<MyBaseClass*> >*)(+other)) + 48u)->std::list<_Tp, _Alloc>::begin [with _Tp = MyBaseClass*, _Alloc = std::allocator<MyBaseClass*>]()'