You will want to include `<algorithm>`.