Hello all.
I am having trouble with the boost lambda library. I am convinced that
my troubles come from some little thing I am overlooking, but for the
life of me I can't seem to find the problem. I have been looking at it
for the entire afternoon with no solution in sight.
I have included some sample code below showing the basic idea of what I
am trying to accomplish. Can anyone provide me with a working solution?
The summary is:
- I have a vector of shared_ptr's to a class A
- That class has a method that returns a value I would like to test for
in a find_if call
============================================================
namespace bl = boost::lambda
class A
{
int getInt();
};
class Foo
{
A bar();
}
std::vector