L
Leon Pollak
I shall be thankful for the help with the following:
Class declaration:
template <int Index, int Prio, int Dir>
class cNHI_Task : public cChnlTask, cNHI_DTS {
....
virtual void Body();
}
I should like to have two different methods "Body" for Dir=0 and Dir=1. But
all my attempts like:
template <int Index, int Prio, int Dir>
void cNHI_Task<Index, Prio, 1>::Body() {}
or
template <int Index, int Prio>
void cNHI_Task<Index, Prio, 1>::Body() {}
or similar failed.
Studing the internet for hours dos not help...
Any comments, please?
Class declaration:
template <int Index, int Prio, int Dir>
class cNHI_Task : public cChnlTask, cNHI_DTS {
....
virtual void Body();
}
I should like to have two different methods "Body" for Dir=0 and Dir=1. But
all my attempts like:
template <int Index, int Prio, int Dir>
void cNHI_Task<Index, Prio, 1>::Body() {}
or
template <int Index, int Prio>
void cNHI_Task<Index, Prio, 1>::Body() {}
or similar failed.
Studing the internet for hours dos not help...
Any comments, please?