This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sorry not implemented: address of bound pointer-to-member function


Mike Stump <mrs@wrs.com> writes:

>> Also could someone explain the exact meaning of this message to
>> me.

> Sure, a bound pointer-to-member function is a virtual member function
> that is associated with a concrete object.

Not necessarily a virtual member function; I think.  It could be any
non-static member function.

> I suppose that with thunks such an extension is ill-advised, if
> someone wants to do up a patch to change the working into something
> like error ("ANSI C++ forbids ..."), that would clarify this thing.

Here's a patch.  Jason, is this ok to install?

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil

bound-ptrmem.diff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]