Boost logo

Boost Users :

Subject: Re: [Boost-users] [lambda] delayed assignment to a member
From: Igor R (boost.lists_at_[hidden])
Date: 2009-10-29 15:03:02


> (lambda::var(member_) = 5)

Did you mean &my_obj::member_? But anyway, it doesn't compile.
My real code should look like this:

io_service.post(lambda::var(member_)=5); // posts to another thread
and performs the assignment there


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net