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.