On Fri, Feb 24, 2012 at 11:56:18AM -0800, Ali Çehreli wrote:
[...]
>     char[1] a;
>     auto c = a.ptr[0..a.length];
[...]

Hey, that's an awesome way to implement copy-on-write static arrays!

I'll have to use that sometime. :)


T

-- 
Sometimes the best solution to morale problems is just to fire all of
the unhappy people. -- despair.com

Reply via email to