On 6/29/2016 7:02 PM, ketmar wrote:
thank you. this is the first time i can really make at least some sense of it. so, basically, in @safe code i should explicitly mark returning `ref`s, or compiler will complain?
Yup. That's all there is to it.
Walter Bright via Digitalmars-d Wed, 29 Jun 2016 19:51:49 -0700
On 6/29/2016 7:02 PM, ketmar wrote:
thank you. this is the first time i can really make at least some sense of it. so, basically, in @safe code i should explicitly mark returning `ref`s, or compiler will complain?
Yup. That's all there is to it.