Hi all,

I know that it is possible to overload the comparison operator "==", but I was wondering whether it was possible to overload "=" when the type of both sides are known?

For instance, if x and y are custom objects

x = customMlist_1;
y = customMlist_2;

I would like to overload

x = y;

-> In practice, x is an empty object and y somehow contains its new attributes.


And a side question : can anyone create a project on the scilab forge?

Best regards,

Pierre











_______________________________________________
dev mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/dev

Reply via email to