C++ 仿函数和匿名函数

仿函数

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

匿名函数

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