On Tue, 24 Feb 2015 11:40:34 -0800, Andrei Alexandrescu wrote:
> 3. opIndex ("here's the magic") is the most interesting part of the
> proposal. It disallows unsafe use such as:
>
> @safe ref int fun()
> {
> auto a = RCArray!int([1, 2, 3]);
> return a[1];
> }this is the important part for those who are too lazy to read DIP25 (like me). thank you.
signature.asc
Description: PGP signature
