progschj / ThreadPool

A simple C++11 Thread Pool implementation
zlib License
7.63k stars 2.21k forks source link

Can you update this implementation to C++17? #78

Closed fotolist closed 4 years ago

fotolist commented 4 years ago

The std::"result_of" is deprecated in C++ 17. Can you update this to a new version? Thank you.

supercairos commented 4 years ago

I've fixed it here : https://gist.github.com/supercairos/2893684c639610f04f67658780182c8b

adarshpandey commented 4 years ago

I've fixed it here : https://gist.github.com/supercairos/2893684c639610f04f67658780182c8b

hey @supercairos , Im new to github.I visited the link you provided which shows the link to file Threadpool.h But, could you tell me how to know the fix,I mean which file/repo to take diff from..?

fotolist commented 4 years ago

I've fixed it here : https://gist.github.com/supercairos/2893684c639610f04f67658780182c8b

Thank you so much.