|
From: Ioannis V. <no...@ya...> - 2001-10-31 20:11:23
|
This subject has been discussed on th e past, but now new evidence came up. :) =20 =20 In "The C++ Programming Language" Special Edition on page 419 it says that each object has its own member function as i was claiming in the beginning. =20 =20 It says many things but lets concentrate at the end of that page: =20 "Just like ordinary pointers to functions, pointers to member functions are used when we need to refer to a function without having to know its name. However, a pointer to member isn't a pointer to a piece of memory the way a pointer to a variable or a pointer to a function is. It is more like an offfset into a structure or an index into an array. When a pointer to member is combined with a pointer to an object of the right type, it yields something that identifies a particular member of a particular object". =20 =20 i think we were discussing it with Jason Hardman. Jason if you see it, please tell me your opinion (since you seem you are a pro). =20 =20 Ioannis =20 * Ioannis Vranos * Programming pages: http://www.noicys.f2s.com <http://www.noicys.f2s.com/>=20 * Alternative URL: http://run.to/noicys =20 |