
29 Oct
2009
29 Oct
'09
5:23 p.m.
AMDG Igor R wrote:
How can I create a functor, which would assign to a member variable, when invoked? I mean, something like this:
int member_; //...
lambda::bind(my_obj::member_, this, 5);
The above bind itself compiles, but if I try to invoke it or to assign to a function
, it doesn't compile.
(lambda::var(member_) = 5) In Christ, Steven Watanabe