2013年11月19日

remove_if的问题

摘要: #include#include#include#include"PRINT_ELEMENTS.h"using namespace std;class Nth{ private: int nth; int count; public: Nth(int n):nth(n),count(0){ } bool operator()(int){ return ++count==nth; }};int main(int argc, char **argv){ list coll... 阅读全文

posted @ 2013-11-19 10:36 yi_meng 阅读(335) 评论(0) 推荐(0) 编辑

导航