首页 > 解决方案 > 了解函数类型

问题描述

std::function<int(float)>:这里int(float)是一个函数类型,它返回int并接受(作为参数)float

我想了解的

上述语句中的const和是什么意思const&

谢谢

标签: c++c++11std-function

解决方案


推荐阅读