Opened 15 years ago

Closed 14 years ago

#1761 closed Bugs (fixed)

StringAlgo: Error in an example

Reported by: bruno dot lalande at gmail dot com Owned by: Pavol Droba
Milestone: Boost 1.36.0 Component: string_algo
Version: Boost 1.35.0 Severity: Problem
Keywords: Cc:

Description

In:

http://www.boost.org/doc/libs/1_35_0/doc/html/string_algo/concept.html

The simple_finder can't compile because the template parameter ForwardIteratorT is used under the name ForwardIterator in this line:

boost::iterator_range<ForwardIterator> operator()(

must be replaced by

boost::iterator_range<ForwardIteratorT> operator()(

Bruno

Change History (1)

comment:1 by Pavol Droba, 14 years ago

Resolution: fixed
Status: newclosed

Fixed, thanks

Note: See TracTickets for help on using tickets.