Code: Replace std::bind with lamda
As Jason Turner pointed out in his C++ Best Practices, std::bind is always adding more overhead (both compiletime and runtime) than needed. Preferably we could use lambdas to circumvent that problem
more here: https://lefticus.gitbooks.io/cpp-best-practices/content/08-Considering_Performance.html
Edited by Marek Białoruski