D isn't the only language with janky closure semantics

Konstantin kostya.hm2 at gmail.com
Sat Aug 30 17:20:18 UTC 2025


On Friday, 29 August 2025 at 22:28:17 UTC, H. S. Teoh wrote:
>

Why are delegates in D an aggregate of a context pointer and a 
function pointer, not like C++'s lambdas (anonymous class with 
`operator()`)?


More information about the Digitalmars-d mailing list