[Boost-bugs] [Boost C++ Libraries] #1999: class split_iterator has incorrect facade_type specified

Subject: [Boost-bugs] [Boost C++ Libraries] #1999: class split_iterator has incorrect facade_type specified
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-06-09 12:48:40


#1999: class split_iterator has incorrect facade_type specified
-----------------------------------------------+----------------------------
 Reporter: Leo Goodstadt <boost_at_[hidden]> | Type: Bugs
   Status: new | Milestone: Boost 1.36.0
Component: None | Version: Boost 1.35.0
 Severity: Problem | Keywords:
-----------------------------------------------+----------------------------
 in algorithm/string/find_iterator.hpp:220:
 we have:

 template<typename IteratorT>
 class split_iterator :

 ...


 // base type
 typedef iterator_facade<
     find_iterator<IteratorT>,
     ^^^^^^^^^^^^^
                 iterator_range<IteratorT>,
                 forward_traversal_tag> facade_type;


 Surely split_iterator's facade type (line# 233) should
 be split_iterator not find_iterator. Is the confusion because this code
 was copied from / based on the find_iterator code above?

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1999>
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:49:58 UTC