opNext: Simplified ranges

Walter Bright newshound2 at digitalmars.com
Sun Nov 6 01:48:04 UTC 2022


We didn't use the "next" protocol for ranges because one cannot test for 
existence of the next element without consuming it.



More information about the Digitalmars-d mailing list