remove_if doesn't actually remove anything, it only places matching elements at the back of the list.