partial linked_queue iterator implementation