Click here to Skip to main content
14,243,792 members

Member Function Pointers and the Fastest Possible C++ Delegates

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

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available No 2-Apr-19 4:29 Available Sean Ewington
Updates in content.
1 No 5-Apr-05 22:51 Available Smitha Nishant

License

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

Share

About the Author

Don Clugston
Engineer
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."

Stats

2.1M views
23.6K downloads
894 bookmarked