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]

solution found for subclass method pointer problem


Hi,

Thanks to a suggestion from Doug Landauer, I found the heart of the 
problem, which is that

&foo::bar is a pointer-to-member, but
&(foo::bar) is not.

Evidently this is from section 5.3.1 of the standard.

I also had to remove the use of macro, which shouldn't have made a 
difference, but did...but I won't argue with what works. :0

Brent


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