EXC_BAD_ACCESS when using std::function w/ std::bind

那年仲夏 提交于 2019-12-05 21:56:38
villintehaspam

It seems that this may be a bug that has been fixed. I had a similar issue (std::bind to a std::function crashes with Clang) where the solution simply was to upgrade from XCode 5.0.1 to XCode 5.0.2.

I tried your code and it seems to work fine with XCode 5.0.2 (have not tried with 5.0.1).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!