Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!tdatirv!sarima From: sarima@tdatirv.UUCP (Stanley Friesen) Newsgroups: comp.lang.c++ Subject: Re: pointers to member functions Message-ID: <31@tdatirv.UUCP> Date: 10 Jun 91 19:34:50 GMT References: Reply-To: sarima@tdatirv.UUCP (Stanley Friesen) Distribution: comp Organization: Teradata Corp., Irvine Lines: 18 In article dgorton@jupiter.newcastle.edu.au (David Mark Gorton) writes: >In Stroustrups "The C++ Programming Language" pp 153-154 an example is given >of how to "fake" the expression of the type of a pointer to a member function. >Has this been standardised ? Nope. Quite the opposite, it is being thoroughly depreciated. (Indeed it will not work properly with multiple inheritance). It has been replaced in cfront 2.0 and later by a new composite type - the 'pointer to member'. Try to get at least one book about level 2.X c++. Lippman's is the best. Any book covering cfront 2.0 or later will explain pointers to members. [And of course, if your c++ compiler is only a level 1.2 compiler, upgrade it, it is radically incompatible with all current compilers]. -- --------------- uunet!tdatirv!sarima (Stanley Friesen)