This code is deprecated, I would like to convert it for C++17
If I understand correctly I should use a lambda instead of bind2nd, it should be pretty easy but I can't make it work.
This question is off topic but do you know a c++17/c++20 book/resource where I can learn from?
I have experience with more high level programming languages so I need a book (or resource) that explain the new concepts and goes a little deeper with memory, pointers, references and this kind of stuff. I understand the old c++ basics but I'm always worried I make some stupid mistake. I want to understand this language to the very core