Re: [Boost-bugs] [Boost C++ Libraries] #7746: Copy without assign problem in find_iterator.hpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7746: Copy without assign problem in find_iterator.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-29 05:28:02


#7746: Copy without assign problem in find_iterator.hpp
-------------------------------------------------+--------------------------
  Reporter: Gaurav Gupta <g.gupta@…> | Owner: marshall
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: algorithm
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------+--------------------------

Comment (by Gaurav Gupta <g.gupta@…>):

 Thanks for adding tests.
 I tried running my static analyzer tool (Coverity Prevent) on this test
 file and the tool is reporting the same errors.
 The patch I attached is no doubt, not a solution of this problem.
 So I want your feedback, whether this error should be fixed or assignment
 operator is left intentionally?
 If it is a bug, do we need to define a user-written assignment operator
 for it?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7746#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:11 UTC