关于operator()和仿函数

c++仿函数 functor

仿函数是模仿函数的类,使用方式如同函数。本质是类中重载括弧运算符operator()

posted @ 2020-09-28 11:27  AI_ON  阅读(116)  评论(0)    收藏  举报