Proposed Changes to the Range API for Phobos v3

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Thu May 16 15:33:26 UTC 2024


Two things I suggest we consider, given the write up:

1. Automatic boxing of slices into a struct, this was something I was 
considering for signatures specifically for ranges.
2. Enable passing the this pointer on a class explicitly, coupled with a 
few final methods you could handle when the class is null and then 
forward to the implementation.



More information about the Digitalmars-d mailing list