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 21:59:45


#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:
--------------------------------------------------------------+-------------

Comment(by rwebb <richard.webb@…>):

 I guess that the compiler is some version of MSVC, and it's being run with
 /W4.
 You get the warning from the test_array.cpp regression test if you build
 it in VC9 with /W4 - i've attached a snippet of the warning message.


 I'd guess that the warning is because the "std::size_t const
 m_element_count;" member is preventing the compiler from auto-generating
 an assignment operator. Doesn't really matter unless you actually want to
 assign the array, but the warning it produces is quite large.

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