On Thu, Jul 30, 2020 at 01:41:05PM +0000, Oleg B via Digitalmars-d-learn wrote:
[...]
> Logically we can compare versions, but what must return `opCmp` if one of
> versions has 'not comparible' state?
[...]

opCmp is allowed to return float; so you could return float.nan in this
case.


T

-- 
"Real programmers can write assembly code in any language. :-)" -- Larry Wall

Reply via email to