Original Post
Hi all,
Is there a tip to overload the "=" operation only with any conditions.
ex:
i would want to overload the = operation only if pointers are concerned
ie:
int *a, *b;
...
b = a <- i want to overload
int c,d
d = c <- not overloading.
CMyObject *o1, *o2;
...
o2 = o1 <-- overload
Thanks