Skip to content
New issue

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

编译报错:function_traits 中的 to_function 对全局函数使用 会报错? #32

Open
VincentGogo opened this issue Jul 12, 2020 · 0 comments

Comments

@VincentGogo
Copy link

VincentGogo commented Jul 12, 2020

void foo(){
}

auto f = to_function(foo);

以上代码在vs2017下面编译不通过,好像当作可调用对象去匹配了

微信图片_20200712235129

@qicosmos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant