On Thursday, 30 June 2016 at 01:54:27 UTC, Walter Bright wrote:
On 6/29/2016 5:08 PM, ketmar wrote:
On Wednesday, 29 June 2016 at 20:52:52 UTC, Walter Bright
wrote:
On 6/29/2016 8:26 AM, Adam D. Ruppe wrote:
tbh, I've never been able to figure out what it is even
supposed to do and thus
never actually used it, despite being interested in the
subject.
One way to find out is to turn it on and let it do the work
for you.
but *what* work?
It'll give you error messages for unsafe attempts to return
references. No error messages, and you're good to go.
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?