This week's C++ommon Knowledge deals with function pointers and their
avoidance. I know what you're thinking, who doesn't know about pointers
to functions? What's next, a tutorial on how to declare an int?
Actually, you may be surprised with the number of practicing C++
programmers who have never even heard of pointers to functions!
Alternatively, you might be surprised with the number of expert C
programmers who over-use pointers to functions in C++. The first four
items this week cover basic function pointers and their more
sophisticated function object replacements.
Function Pointers
http://www.semantics.org/once_weakly/ck35_functionpointers.pdf
Function Objects
http://www.semantics.org/once_weakly/ck36_functionobjects.pdf
Commands and Hollywood
http://www.semantics.org/once_weakly/ck37_command.pdf
STL Function Objects
http://www.semantics.org/once_weakly/ck38_stlfunctionobjects.pdf
Finally, there's a short item on function template argument deduction
that seemed to go with the material on function pointers, though I'm not
sure why...
Template Argument Deduction
http://www.semantics.org/once_weakly/ck39_deduction.pdf
As always, all the C++ommon Knowledge items are available on the Once,
Weakly page: <http://www.semantics.org/weekly.html>.
Best regards,
Steve