use lambda's over ptr_fun#127
Conversation
| source/restclient.cc | ||
| source/connection.cc | ||
| add_library(restclient-cpp SHARED | ||
| source/restclient.cc |
There was a problem hiding this comment.
I think my editor just automatically made these spacing changes, I am happy to change them back if you'd like.
|
Looks like this older version of gcc available in travis needs: |
|
I think I'd prefer to start with |
ptr_fun was deprecated in C++11, and removed in C++17. lambdas have also been around since C++11. so there should be no loss in supported targets, but also adds in support for C++17 and beyond.
|
can we merge that, because in c++ 17 we cannot compile anymore |
|
@mrtazz Any updates here? Anything I can do to help? |
|
@securityinsanity sorry for the slow response and thanks for your patience and contribution! :) |
|
No worries at all! Thanks! |
ptr_fun was deprecated in C++11, and removed in C++17. lambdas
have also been around since C++11. so there should be no loss in
supported targets, but also adds in support for C++17 and beyond.