C++ 仿函数和匿名函数

仿函数

  • 仿函数是一个类
  • 重载()运算符

匿名函数

  • [capture](parameters)->return-type
posted @ 2020-05-14 14:58  youqia  阅读(386)  评论(0)    收藏  举报