Modern C++ Won't Save Us

Imperatorn johan_forsberg_86 at hotmail.com
Thu Apr 29 15:13:11 UTC 2021


On Wednesday, 28 April 2021 at 03:40:55 UTC, Walter Bright wrote:
> On 4/27/2021 5:17 PM, Paul Backus wrote:
>> [...]
>
> `scope` is for pointers, `ref` is for references. That's the 
> distinction.
>
> `ref` never applies to pointers, `scope` never applies to 
> references.
>
> (A class reference is treated as a pointer.)

Is that written explicitly anywhere in the docs?


More information about the Digitalmars-d mailing list