|
Boost : |
Subject: Re: [boost] [thread] synchronized_value: value and move semantics
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2013-09-24 14:26:57
On Tue, Sep 24, 2013 at 7:19 PM, Andrey Semashev
<andrey.semashev_at_[hidden]>wrote:
> synchronized_value has an internal mutex, which is not movable. But I think
> you should be able to move the contained value using the synchronize()
> functions.
>
Yes that's what I was thinking about, the copy operator already copy the
value but not the mutex (from the documentation).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk