4 Jul 17:55
Re: Any interest in generic sequence searching through single-pass iterators?
From: Mathias Gaunard <mathias.gaunard <at> ens-lyon.org>
Subject: Re: Any interest in generic sequence searching through single-pass iterators?
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-07-04 15:55:42 GMT
Subject: Re: Any interest in generic sequence searching through single-pass iterators?
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-07-04 15:55:42 GMT
dpxguard-boost <at> yahoo.gr wrote: > Hi list, > > I have written in my free time the "single_pass_search" C++ template function, which performs generic sequence searching similarly to the std::search STL algorithm. The most important quality of single_pass_search and its main advantage over std::search > is its capability to search for a sub-sequence in a search-range that is accessed through a pair of single-pass (input) iterators, while std::search requires that the search-range must be accessed via forward iterators at least. I guess it could be interesting to overload std::search to work with input iterators too. There is no need to give it a different name. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
RSS Feed