boost::lambda bind expressions can't get bind to string's empty() to work
- by navigator
Hi,
I am trying to get the below code snippet to compile. But it fails with:
error C2665: 'boost::lambda::function_adaptor::apply' : none of the 8 overloads could convert all the argument types. Sepcifying the return type when calling bind does not help.
Any idea what I am doing wrong?
Thanks.
#include <boost/lambda/lambda.hpp>
#include…