On Monday, 13 October 2014 at 13:46:56 UTC, Robert burner Schadek wrote:
A blunt force solution would be to create a range as
Range!(ReturnType!Array...)(cast(Array!T)this, low, high);
and then do the correct casts in Range.
The ReturnType would be the ReturnType of opIndex of the Range type and the Array would be stored as plain array without any

Do you mean a mutable array containing references to inout data?

qualifier.

Could you please give me a code example? I'm not skilled enough in D to follow this description.

Reply via email to