`shared`...
Atila Neves
atila.neves at gmail.com
Wed Oct 3 08:33:26 UTC 2018
On Tuesday, 2 October 2018 at 21:35:40 UTC, Walter Bright wrote:
> On 10/2/2018 1:49 PM, Manu wrote:
>> So... `scope` says "I won't escape this, but I may escape
>> anything
>> this points to"?
>
> That's right.
>
> http://dconf.org/2017/talks/bright.html
I'm confused. Given how the lifetimes of aggregates are defined
in DIP1000, and also given that I tried to escape members of a
struct when I wrote fearless and the compiler didn't let me, I'm
trying to understand in what situation scope doesn't apply
transitively.
More information about the Digitalmars-d
mailing list