On 8/25/2017 1:31 AM, Jacob Carlborg wrote:
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.
Right, but please show me an example of how that might be used.