Modern C++ Won't Save Us

Max Haughton maxhaton at gmail.com
Tue Apr 27 11:39:56 UTC 2021


On Tuesday, 27 April 2021 at 11:33:45 UTC, MoonlightSentinel 
wrote:
> On Tuesday, 27 April 2021 at 10:53:10 UTC, Vladimir Panteleev 
> wrote:
>> What does `scope` mean on a function declaration?
>
> It applies to the `this` pointer for member methods, just like 
> `return`.
> (Allthough `scope` is implicitly applied for structs IIRC)

If I had a magic wand I would make the this pointer explicit, now 
that we annotate it often.



More information about the Digitalmars-d mailing list