How is chunkBy supposed to behave on copy

Dukc ajieskola at gmail.com
Thu Mar 19 14:00:44 UTC 2020


On Wednesday, 18 March 2020 at 16:29:53 UTC, H. S. Teoh wrote:
> This is a dangerous assumption.  My personal advice is, if you 
> expect a range to retain its contents after iteration, call 
> .save explicitly. Don't assume anything not explicitly required 
> by the range API.

This means that even if the api does thing X right now, I should 
not assume it won't change unless it's documented, right?




More information about the Digitalmars-d mailing list