Boost Users :
Subject: Re: [Boost-users] Why does boost thread copy a functor?
From: Chris Cleeland (chris.cleeland_at_[hidden])
Date: 2012-01-21 21:47:43
On Thu, Jan 19, 2012 at 5:08 PM, Niklas Angare <li51ckf02_at_[hidden]> wrote:
> "Chris Cleeland" wrote:
>> I discussed the issue with a few
>> colleagues and asked what they would expect to happen, and they all
>> had similar expectations to mine (that the functor was not copied).
> The documentation is crystal clear, though:
> "Effects: func is copied into storage managed internally by the thread
Indeed, you are correct. I read many parts of the documentation, but
not that. I even looked at examples and the tutorial.
-- Chris Cleeland
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