Re: [Boost-bugs] [Boost C++ Libraries] #3589: Compiler could not create assigment operator

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3589: Compiler could not create assigment operator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-06 20:30:27


#3589: Compiler could not create assigment operator
--------------------------------------------------------------+-------------
  Reporter: Seweryn Habdank-Wojewodzki <seweryn@…> | Owner: ramey
      Type: Bugs | Status: reopened
 Milestone: | Component: serialization
   Version: Boost Development Trunk | Severity: Cosmetic
Resolution: | Keywords:
--------------------------------------------------------------+-------------
Changes (by Seweryn Habdank-Wojewodzki <seweryn@…>):

  * status: closed => reopened
  * resolution: worksforme =>

Comment:

 Hi,

 For sure it will not be a linker problem, because operator= is in private
 section
 and nobody should access private section. See how ::boost::noncopyable is
 implemented.

 If there is no assignment operator compiler is trying to create one.
 When fails, generate warning and default assignment operator which makes
 copy bit by bit, what usually is error prone.

 Regards,
 Seweryn Habdank-Wojewodzki.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3589#comment:2>
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:01 UTC