Fun With Functoids

If you want to learn more about functoids in general, see this paper by Brian McNamara and Yannis Smaragdakis entitled Functional Programming in C++. There is also this nice FC++ tutorial that is a bit easier to read. For the functional programmers out there (don't look at me--I'm not one), much can be summarized by stating that functoids correspond to closures. For the imperitive programmers out there, we'll define what a closure is some other day. <g> Actually, it's pretty easy to describe functoids for imperitive programmers as well: they are objects that enclose, or represent, functions. Konstantin Laufer has a very nice overview for functoids in C++ in his paper A Framework for Higher-Order Functions in C++.
Comments:

Post a Comment:
Comments are closed for this entry.
About

toddfast

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today