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 06:38:34


#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 marshall):

 It doesn't appear to me that this is a bug. The compiler-generated
 assignment operator does the right thing.

 The only reason (that I can tell) for the user-defined copy constructor is
 to call a particular base-class constructor.

 I've never used Coverity on C++ code, but when I used it on C code (3
 years ago), it had a very high false positive rate.

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