Am Sat, 5 Apr 2014 15:31:30 +0100 schrieb Iain Buclaw <ibuc...@gdcproject.org>:
> > I've had another thought for a while now that involves not > constifying 'in' parameters, but at the same time not loosing its > guarantee. > But we'd want this to work/inline nevertheless, right?: ------------ void test(const(char)[] a) { } char[] abc; test(abc); ------------ Then we still need to tell GCC that const(char)[] is a variant of char[] or it won't inline.