Why are opEquals/opCmp arguments not in or const for Objects?

Timon Gehr timon.gehr at gmx.ch
Mon Mar 18 15:53:05 PDT 2013


On 03/18/2013 11:11 PM, Stewart Gordon wrote:
> ...
>
> But the drawback of this approach (compared with making Object
> const-correct) is that some library programmers will (continue to)
> neglect const-correctness

That's a C++ term and it is not applicable to D.



More information about the Digitalmars-d mailing list