Garbage collection, and practical strategies to avoid allocation
Brad Anderson
eco at gnuk.net
Fri May 31 20:13:50 PDT 2013
On Saturday, 1 June 2013 at 02:47:40 UTC, Brad Anderson wrote:
static
> arrays would need some sort of wrapper to make them output
> ranges I believe unless it was decided that put() should work
> by replacing the front and calling popFront for them (which I
> kind of doubt is the desired behavior).
>
> (feel free to correct me on any of this, range experts)
Actually I'm completely wrong about this. Slices already work
this way and you can use a slice of a static array just fine as
an output range.
More information about the Digitalmars-d
mailing list