037 函数对象的过滤器

#include <iostream> #include <vector> using namespace std; struct A { int v; A() { } A(int n) :v(n) { }; bool operator<(const A& a) const { return v <
posted @ 2022-02-28 14:56  icefield817  阅读(36)  评论(0编辑  收藏  举报