Dealing with property function and operator overloads

bearophile bearophileHUGS at lycos.com
Mon Oct 3 15:50:25 PDT 2011


Steven Schveighoffer:

> I suspect operator overloads are going to be a large hole in the interface  
> design of many objects, but at least they won't be exploitable once  
> compiled.

Just after the introduction of the new operator overload syntax I have suggested to introduce strict tests to statically forbid strings that don't contain one of the correct accepted operators. Walter didn't appreciate this idea :-(

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list