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] |
I'm trying to define a member function template in an untemplated class where one of the arguments to the member function template is a member function pointer to a member function of the template parameter, e.g.,
class B { ... };
class A {
template< T >
void aFunction( ( void ( T::* mfp ) ( B& ) ), B* b ) { ... }
}
I am required to use egcs-2.91.66 which isn't buying it - I get a "parse error before ')'" on the aFunction line. I can't figure out what's wrong. What am I missing? Thanks.
Chris
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |