We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我想问如何知道Attach函数的输入函数F的所有形参类型? Attach函数原型如下: //注册消息 template void Attach(F&& f, const string& strTopic="") { auto func = to_function(std::forward(f)); Add(strTopic, std::move(func)); }
因为我需要记录这些形参类型,在调用的时候首先尝试进行强制转换。 感谢回复
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我想问如何知道Attach函数的输入函数F的所有形参类型?
Attach函数原型如下:
//注册消息
template
void Attach(F&& f, const string& strTopic="")
{
auto func = to_function(std::forward(f));
Add(strTopic, std::move(func));
}
因为我需要记录这些形参类型,在调用的时候首先尝试进行强制转换。
感谢回复
The text was updated successfully, but these errors were encountered: