All Questions
1 question
2
votes
2
answers
209
views
function overloading with std::function and generic lambdas: std::string preferred over int
When trying to compiling this, suprisingly, it gives an error because the auto parameter of the lambda function has been resolved to std::string, and the compiler doesn't know how to convert std::...