Because I've overloaded the operator++
for an iterator class
template<typename T>
typename list<T>::iterator& list<T>::iterator::operator++()
{
//stuff
}
But when I try to do
list<int>::iterator IT;
IT++;
I get a warning about there being no postifx ++
, using prefix form. How can I specifically overload the prefix/postifx forms?