[Issue 16381] Wrapping a float4 array leads to segfault.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Aug 12 12:10:22 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16381

--- Comment #5 from Bartek Siudeja <siudej at gmail.com> ---
If you do know a workaround I could use, I would be really grateful. 

Was checking some other options. Even changing opIndex into something like:

float4 test(size_t idx)
{ 
    float4 temp = arr[idx];
    return temp; 
}

does not help. So this seems about the return value of a function.

--


More information about the Digitalmars-d-bugs mailing list