HTOD

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 25 01:31:57 PDT 2017


On 2017-08-25 02:43, Walter Bright wrote:

> I have no idea how that would even work. Since lambdas are nested 
> functions, how would one write one in D and have it nested inside C++ code?

I thought C++ lambdas were implemented as structs with the call operator 
overloaded.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list