Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5463: default constructor of filter_iterator does not initialize members
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-13 01:46:54
#5463: default constructor of filter_iterator does not initialize members
---------------------------------------------+------------------------------
Reporter: aleksander.sulkowski@⦠| Owner: dave
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: iterator
Version: Boost 1.47.0 | Severity: Problem
Resolution: invalid | Keywords: filter_iterator default constructor
---------------------------------------------+------------------------------
Comment (by anonymous):
2 default constructed pointers are equal (if they are initialized). Why
wouldn't iterators be? The current iterator behavior changes between
different compilers/modes. Make the constructor private if you do not want
it to be used. Making it not deterministic is not helping. Why would one
expose a nondeterministic method?
Is there any argument why not to initialize members of the iterator?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5463#comment:2> 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:06 UTC