Note that all versions of copy_if are stable.