【发布时间】:2019-04-15 22:19:28
【问题描述】:
因此,我没有理由在此声明中使用 std::function。根据我读到的内容,可以使用std::function 编写以下语句。
这句话应该是怎样的?写着std::function
template <class T>
class CFooTemplate
{
public:
typedef void (T::*FOO_STATE)(void);
解释一下,写作背后的逻辑。
【问题讨论】:
-
我们没有足够的上下文来帮助您解决这个问题
标签: c++ std-function