progschj / ThreadPool

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

feature: support ref params #71

Closed shuai132 closed 4 years ago

shuai132 commented 4 years ago

support reference semantics for parameters and test code

fogti commented 4 years ago

fyi: reference_wrapper exists in the STL. std::ref//cref