-
-
Save anonymous/135f9da09e1fe3e11490 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main.cc:128:46: error: implicit instantiation of undefined template 'std::function<std::packaged_task<int ()> >' | |
std::function<std::packaged_task<T()>> unbound = [](std::packaged_task<T()> bound_task)->void { | |
^ | |
main.cc:148:17: note: in instantiation of function template specialization 'SimpleThreadPool::Submit<int>' requested here | |
auto res = tp.Submit<int>([]()->int { | |
^ | |
functional:1866:11: note: template is declared here | |
class function; | |
^ | |
1 error generated. | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment