Circular Buffer
Orvid King
blah38621 at gmail.com
Fri Dec 20 07:48:42 PST 2013
There's actually already a circular buffer implemented in vibe.d, and
if I remember right it's not dependent on anything from vibe.
On 12/20/13, Frustrated <c1514843 at drdrb.com> wrote:
> I'm in need of a circular buffer/array. I am using
> std.container.array to avoid the GC. I suppose I could copy and
> modify the code but is there any easier way? It looks like it is
> defined as templates so could I somehow hijack the code and
> modify only what is needed rather than duplicate a lot of stuff?
> (or maybe someone could just add it to the library... circular
> arrays are useful ya know ;)
>
>
More information about the Digitalmars-d-learn
mailing list