can we add such feature? synchronized(null) ==> i.e NO-OP
Paul Backus
snarwin at gmail.com
Sat Aug 27 00:19:05 UTC 2022
On Friday, 26 August 2022 at 20:49:52 UTC, mw wrote:
> Thanks.
>
> Is there any documentation for creating class object on the
> stack?
>
> I only found this discussion:
>
> https://forum.dlang.org/thread/srbzvjezicpuhxhzzoyb@forum.dlang.org?page=2
>
>
> Also I want confirmation that this scope usage will not be
> deprecated in the future.
It's documented in the language spec, here:
https://dlang.org/spec/attribute.html#scope-class-var
As far as I am aware there is no plan to deprecate this usage.
More information about the Digitalmars-d
mailing list