29 Aug
2012
29 Aug
'12
7:05 p.m.
On Wed, Aug 29, 2012 at 11:50 AM, Igor R
Although this is not an answer to your question, but if you have c++11 compiler, you can make a lambda: Company.BossHired.connect([&Processor](const CPerson& Person) { Processor.f(Person.GetAge()); });
Igor, Thank you for the idea and especially writing out the solution. I am not using c++11, but I have the option as I am using a newer gcc. In this simple case a nested bind (as described by Steven) looks simpler. However, I can imagine a more complicated case that might lend itself to a c++11 lambda. Thank you, Chris