Proposed Changes to the Range API for Phobos v3

H. S. Teoh hsteoh at qfbox.info
Fri May 17 14:28:35 UTC 2024


On Fri, May 17, 2024 at 03:33:26AM +1200, Richard (Rikki) Andrew Cattermole via Digitalmars-d wrote:
> 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.
[...]

What's the purpose of this, other than to add friction to use built-in
arrays as ranges?  What do we get in return for paying this price?


T

-- 
Error: Keyboard not attached. Press F1 to continue. -- Yoon Ha Lee, CONLANG


More information about the Digitalmars-d mailing list