Subject: [Boost-bugs] [Boost C++ Libraries] #7746: Copy without assign problem in find_iterator.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-28 11:34:10
#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
Keywords: |
------------------------------------------------+---------------------------
I have encountered some errors in Boost, while running some static
analyzer tool.
It is reported in boost/algorithm/string/find_iterator.hpp
The error is:
'''find_iterator and split_iterator classes has user-written copy
constructor but no corresponding user-written assignment operator.'''
I have attached a patch herewith.
Is it valid to apply this fix?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7746> 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