C++ 算法包 for_each#include <iostream>#include <vector>#include <algorithm>class __F {public: void operator() (int __first) { std::cout << "自定义一元谓词:" << __first <&a C/C++ 2023-10-18 48 点赞 0 评论 72 浏览