opCast using in template struct

bearophile bearophileHUGS at lycos.com
Thu Oct 18 16:23:12 PDT 2012


Era Scarecrow:

>  Maybe.. A general warning when something starts with 
> 'op(Op)?[A-Z]' but doesn't actually qualify as any of the 
> override-able operators? That seems sensible...

Regarding operator overloading there are several situations worth 
warning the programmer of. The D compilers should be improved on 
this.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list