
2 Apr
2009
2 Apr
'09
1:18 a.m.
AMDG Igor R wrote:
I'd like to bild on-the-fly functor that would do something like:
a_ = 1, b_ = 2; // a_, b_ - members
But the assignment should be delayed until the functor is invoked. How can I do this with bind/lamda?
Using lambda: boost::lambda::var(a_) = 1, boost::lambda::var(b_) = 2 In Christ. Steven Watanabe