acehreli
10/19/2008 10:49:00 PM
On Oct 19, 2:29 pm, Ingo <Ingo.Nol...@recurdyn.de> wrote:
> template< typename objectT
> , typename worldT >
> void(objectT::* getInvocationFunctionFor( objectT* v ))(worldT&)
> {
> return &(objectT::custom_func/*<worldT>*/);
>
> }
I recommend using typedef's to make the code readable. I can only fool
myself to think what the return type possibly is. Still, your problem
may be that you are missing a 'template' keyword as in:
return &(objectT::template custom_func<worldT>);
Without that, the compiler would take '<' as the "less than" operator.
Ali