Ptrs to functions (gcc vs. egcs)

Bob McWhirter bob@werken.com
Sat Mar 27 11:48:00 GMT 1999


On Sat, 27 Mar 1999, Mike wrote:

> On 27 Mar 1999, Jason Merrill wrote:
> 
> > Just change
> > 
> >   ptr();
> > 
> > to
> > 
> >   this->*ptr();
> > 
> > Jason
> > 
> 
> This doesn't seem to fix it. Same error message results.

I've tended to us:

	this->(*ptr)();

Which might or might not work for you.

	-B



More information about the Gcc mailing list