Can opCmp return a 'long' instead of 'int'?

Timon Gehr timon.gehr at gmx.ch
Sun Feb 16 07:13:19 PST 2014


On 02/16/2014 02:59 PM, Saurabh Das wrote:
>
> This does compile and run correctly, but are there any hidden
> assumptions or requirements on the return value of opCmp that I should
> be aware of? Is there any reason that doing this may be not be wise?

No, this is fine.


More information about the Digitalmars-d-learn mailing list