
On Sat, 01 Jan 2005 12:46:07 -0500, christopher diggins <cdiggins@videotron.ca> wrote:
That is close, but the method forwarded to may or may not be virtual. I don't know how the gnu gcc signatures worked, I have only heard second-hand that it was a similar technique. There is an article at http://www.codeproject.com/cpp/retrofitpolymorphism2.asp which explains how the technique works using double-width pointers. There was also an article on it, in the September 2004 issue of the C/C++ Users Journal.
I just have to say that I continue to be astounded by the elegant and useful ideas and code that people on this list come up with on a regular basis. So here are some words of appreciation. Wow! This is neat! Happy New Year Boosters. Thanks for making C++ more fun! -- Caleb Epstein caleb dot epstein at gmail dot com