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.