i have the class
class Circle : public isCircle{
private :
int x;
int y;
vector<Circle*> _neighbors;
}
where isCircle is just an interface (with virtual methods), and the Circles which _neighbors contains pointers to weren't allocated by this instance.
my question is if in this case the default copy and assignment operator would basically do a deep copy ?
_aand__ais that the second is reserved for any use, so you should never see it in user code (and can legitimately complain about it if you do). The first is only reserved as a name in the global namespace, so it's purely a matter of taste whether to use it in other contexts.