D Easy · Lesson 7

Delegates and lambdas

Function pointers vs delegates, closures that capture locals, passing callbacks, and std.functional.

Lessons · D Easy · Lesson 7 of 10

Delegates and lambdas

Function pointers vs delegates, closures that capture locals, passing callbacks, and std.functional.

Illustration for D
Function pointers vs delegates, closures that capture locals, passing callbacks, and std.functional.