Re: [Boost-bugs] [Boost C++ Libraries] #9335: default constructed split_iterator has UB when copy constructed

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9335: default constructed split_iterator has UB when copy constructed
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-04 19:42:09


#9335: default constructed split_iterator has UB when copy constructed
--------------------------------------+----------------------------
  Reporter: nlewycky@… | Owner: marshall
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: string_algo
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords: split_iterator
--------------------------------------+----------------------------

Comment (by marshall):

 I believe all that's necessary here is to initialize m_bEof in the default
 constructor.

 All the other members have default constructors (i.e, are not PODs), so
 they will be initialized.

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