On 2012-10-05 16:09, Ali Çehreli wrote:


This workaround makes the compiler happy:

void foo (inout(int)[] arr)
{
     auto a = (inout int) { auto b = arr[0]; };
}

But probably not what you want. :/

IIRC, inout has bugs and incomplete implementation. I think this should
be in the bug database.

Hmm, I'll see if I can use that, thanks.

--
/Jacob Carlborg

Reply via email to