Opened 14 years ago

Closed 14 years ago

#1999 closed Bugs (fixed)

class split_iterator has incorrect facade_type specified

Reported by: Leo Goodstadt <boost@…> Owned by: Pavol Droba
Milestone: Boost 1.36.0 Component: string_algo
Version: Boost 1.35.0 Severity: Problem
Keywords: Cc:

Description

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?

Change History (2)

comment:1 by Marshall Clow, 14 years ago

Component: Nonestring_algo
Owner: set to Pavol Droba

comment:2 by Pavol Droba, 14 years ago

Resolution: fixed
Status: newclosed

That typedef is actually not used at all. I have just removed it.

Note: See TracTickets for help on using tickets.