Arm*_*yan 10 c++ stl standard-library
在std::basic_string类模板有成员函数find_first_of和find_first_not_of.
该<algorithm>头,但只包含一个通用find_first_of.
问题1:是否缺席
std::find_first_not_of(Iter1 first1, Iter1 last1, Iter2 first2, Iter2 last2)
Run Code Online (Sandbox Code Playgroud)
只是疏忽(例如copy_if)或是故意省略,因为行为可以通过另一个标准功能实现?
当然我可以写自己的find_first_not_of,但是
问题2:某处有一个现成的解决方法<algorithm>吗?例如,缺席由于存在而copy_if得到补偿remove_copy_if
提前致谢