Click here to Skip to main content
14,743,288 members
Articles » Languages » C / C++ Language » Delegates » Revisions


901 bookmarked

Member Function Pointers and the Fastest Possible C++ Delegates

Rate me:
Please Sign up or sign in to vote.
4.83/5 (712 votes)
5 Apr 2005CPOL
A comprehensive tutorial on member function pointers, and an implementation of delegates that generates only two ASM opcodes!



Compare Revision Minor Date Status Editor
3 - publicly available Yes 20-Jan-21 6:13 Available Deeksha Shenoy
Updates in content.
2 No 2-Apr-19 5:29 Available Sean Ewington
Updates in content.
1 No 5-Apr-05 23:51 Available Smitha Nishant


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Don Clugston
Germany Germany
I'm an Australian physicist/software engineer living in Leipzig, Germany. I've published papers about windows (the glass kind), semiconductor device physics, environmental philosophy and theology, vacuum systems, and now (at CodeProject) the innards of C++. (Yes, my C.V. is a terrible mess.) I'm a major contributor to the D programming language. I can read New Testament Greek, and can speak German with a dreadful accent.

I have one wife, one son (pictured), and one daughter, who are all much cuter than I am.

"The light shines in the darkness, but the darkness has not overcome it."

Comments and Discussions