Link Details

Link 70645 thumbnail
User 111696 avatar

By bloid
via aigamedev.com
Published: Mar 14 2008 / 10:53

Fast delegates are a C++ version of closures, which are basically functions bound to an execution environment. Delegates, in practice, are used as a lightweight implementation of interfaces, or as an elegant replacement for member function pointers. If you cringe at the thought of writing an interface around simple functionality, or get frustrated with how the C++ standard prevents you from legally casting function pointers, then fast delegates are the solution.
  • 10
  • 0
  • 877
  • 228

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (0)