Can we fix this?
bauss
jj_1337 at live.dk
Thu Sep 30 13:10:18 UTC 2021
On Thursday, 30 September 2021 at 11:44:36 UTC, Adam D Ruppe
wrote:
> On Thursday, 30 September 2021 at 11:36:01 UTC, bauss wrote:
>> I really like that in C++ because you don't clutter memory
>> with unnecessary references. Your closure will only reference
>> what you capture.
>
> That's actually true in D as well. The compiler looks at the
> variables referenced in the closure automatically.
The more you know
More information about the Digitalmars-d
mailing list