How do I pass this function if
int &pos(void) - returns the element at "position" by reference
my method in class definition:
int &pos(void):
my function is
int dequeint::&pos(void)
{
return CurrPos->x;
}
NodeValueType dequeint::front()
{
return headi->x;
}
but i get this compiler error expected unqualified-id before "&" token
Many thanks!