Re: [Boost-bugs] [Boost C++ Libraries] #9498: signals should be copyable

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9498: signals should be copyable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-16 18:25:46


#9498: signals should be copyable
----------------------------------------------+----------------------
  Reporter: ProgramCpp <janani.anbarasan@…> | Owner: fmhess
      Type: Support Requests | Status: new
 Milestone: To Be Determined | Component: signals2
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------------+----------------------

Comment (by fmhess):

 They are non-copyable by design (going back to the original signals
 library). I agree with the design decision as copyable signals in an
 object would be highly error-prone, as they would generally do the wrong
 thing by default when implementing copy or assignment for the enclosing
 object.

 Signals should be moveable, however, and that would be sufficient to put
 them in c++11 containers.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9498#comment:1>
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:15 UTC