Hi there,

This is my 1st post on this board, so plz donīt hesitate
to welcome me by replying massively to the question
below concerning a class template implementation.
I included only part of the code:

template <class T>
class pr {
T value1, value2;
public:
pr (T first, T second)
{value1=first; value2=second;}
T module () {return 0;}
};

template <>
class pr<int>{
int value1, value2;
public:
pr (int first, int second)
{value1=first; value2=second;}
int module ();
};

template <>
int pr<int>::module() {
return value1%value2;
}




the BOLD part of the code returns the following error
while compiling in borlands C5.5 compiler:

invalid explicit specialization of 'pr<int>::module()' etc.

Did I overlook something

Thanx,

Martijn