Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2270: Compile Warning: Assignment Operator Could not be generated
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-01-25 18:26:09
#2270: Compile Warning: Assignment Operator Could not be generated
----------------------------------------------+-----------------------------
Reporter: Ryan Mulder <rjmyst3_at_[hidden]> | Owner: ramey
Type: Patches | Status: reopened
Milestone: To Be Determined | Component: serialization
Version: Boost 1.37.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------------+-----------------------------
Comment(by ramey):
OK, I've updated extended_type_info to make it non-copyable.
But review array.hpp. I contains make_array which returns
a copy of an array wrapper and make_array is in fact used
by the system and tests. That is, array must be copyable.
I can't explain why this generates a warning. Perhaps
array should contain an explicit copy/assignment constructors
but I don't see why that should be necessary.
Take another look at array.
Robert Ramey
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2270#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:49:59 UTC