it is nothing to do with linux
write operator- with accept iterator and returns int