On 2/23/2015 5:41 PM, weaselcat wrote:
On Monday, 23 February 2015 at 22:15:54 UTC, Walter Bright wrote:
    ref E opIndex(size_t i) return // here's the magic

exactly what is this doing? I don't see this explained in DIP25 at all.

The 'this' is passed by reference. So the 'return' is really 'return ref this', the rest is explained by DIP25.

Reply via email to