I came across this kind of function signature at multiple sources. It has an argument int
but function logic do not use the argument. I am not sure why this is defined in this way ? . If the argument is not need, why not just declare the function with out argument.
iterator operator--(int) {
iterator copy(*this);
operator--();
return copy;
}
Thanks