std::bind
It works with std::function<void()> but breaks when you add an extra parameter to MyClass::OnDone . What gives? std::bind() doesn't just bind the first N ...
確定! 回上一頁