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:39:56


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

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

Comment:

 "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."

 Hmmm - are you quite sure? I was sure that the default assigment was
 element by element rather than bit by bit.

 Having said that, I still get no warning in any of 200 tests. I test with
 MSVC 7.1 and gcc 4.3.2. That is, it still works for me.

 Let me know what compiler you're using and include a small example which
 emits this warning.

 Robert Ramey

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