Slicing betterC

Oleksii al.skidan at gmail.com
Thu Sep 6 17:16:04 UTC 2018


On Thursday, 6 September 2018 at 17:10:49 UTC, Oleksii wrote:

>   allocatedFoo = foos[0 .. $ + 1];    // <= Error: TypeInfo

This line meant to be `allocatedFoo = foos[$]`. Sorry about that.


More information about the Digitalmars-d-learn mailing list