"scope attribute" vs "scope keyword" vs "scope storage class"
Cooler
kulkin at hotbox.ru
Wed Feb 5 07:42:41 PST 2014
On Wednesday, 5 February 2014 at 11:01:00 UTC, Mike wrote:
> This article (http://dlang.org/memory.html#raii) mentions a
> "scope attribute".
>
> The following section (http://dlang.org/memory.html#stackclass)
> mentions a "scope storage class".
>
> This deprecated list
> (http://dlang.org/deprecate.html#scope%20for%20allocating%20classes%20on%20the%20stack)
> states that the "scope keyword" has been deprecated.
>
> Are all these terms ("scope attribute", "scope keyword", and
> "scope storage class") referring to the same thing?
>
> Mike
Did you read "Rational" paragraph?
"Note that scope for other usages (e.g. scoped variables) is
unrelated to this feature and will not be deprecated."
More information about the Digitalmars-d-learn
mailing list