摘要: 可调用对象 函数 函数指针 函数类 lamda表达式 bind对象 函数类 重载了函数调用运算符()的类的对象,称为函数对象,也叫仿函数。 class callable { public: void operator() (int x) const { cout << "callable::oper 阅读全文
posted @ 2024-02-06 19:19 trashwin 阅读(36) 评论(0) 推荐(0) 编辑