Should this invariant always hold? equal(range.retro.array, range.array.retro)

FeepingCreature feepingcreature at gmail.com
Mon Oct 17 11:02:07 UTC 2022


Trolling a bit: Should this invariant always hold?

assert(equal(range.retro.array, range.array.retro));

Can you find a definition of `range`, using only `std.algorithm` 
verbs (ie. no custom ranges), that violates it?

(And no peeking at my recently-filed bug reports!)



More information about the Digitalmars-d mailing list