Subject: [Boost-bugs] [Boost C++ Libraries] #7167: interprocess_condition doesn't implement move semantics
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-24 18:07:05
#7167: interprocess_condition doesn't implement move semantics
-------------------------------------------------+--------------------------
Reporter: John DiMatteo <jdimatteo@â¦> | Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.51.0
Severity: Problem | Keywords:
-------------------------------------------------+--------------------------
Boost.Interprocess containers support move semantics, but
interprocess_condition does not, which is problematic.
For example, the lack of move semantics prevents having a
boost::interprocess::map where the values are structs containing
interprocess_condition variables. This is because map insert requires the
value object to have move or copy constructors, both of which are
impossible to implement correctly since the struct contains the non-
copyable and non-moveable interprocess_condition member. (A work around
is to store a pointer to the interprocess_condition in the Struct, but
that shouldn't be necessary).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7167> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC