Formal review of std.buffer.scopebuffer

monarch_dodra monarchdodra at gmail.com
Mon Mar 17 13:26:36 PDT 2014


On Monday, 17 March 2014 at 20:25:11 UTC, monarch_dodra wrote:
> Something like:
> put(E)(E[] s)
> if (is(typeof(buf[] = s)))

`buf[] = s[]`actually.


> static if (is(const(T) : T)
>     alias CT = const(T);
> else
>     alias CT = T;
>
> void put(T[] s)

This should read CT, of course.

I should have re-read.


More information about the Digitalmars-d mailing list