Files
algorithm/include
Anton Karpov db783f5815 Fix \fn and \param tags in the searching algorithms
The four searchers share copied comment blocks, and three of them kept
names from a function they no longer describe.

boyer_moore and knuth_morris_pratt document a predicate parameter Pred p
that none of the operators or do_search overloads take. boyer_moore also
names the block \fn operator while it sits on do_search, and so does one
of the two blocks in knuth_morris_pratt, where the real third parameter
is k_corpus_length rather than p. boyer_moore_horspool documents
k_corpus_length on a do_search that takes two arguments.

The correct form is already in the same family: boyer_moore.hpp:73 and
boyer_moore_horspool.hpp:68 both name two parameters and no predicate.
2026-08-05 06:16:33 +03:00
..