| Home | Libraries | People | FAQ | More

## Class template boyer_moore_horspool

boost::algorithm::boyer_moore_horspool

## Synopsis

    // In header: <boost/algorithm/searching/boyer_moore_horspool.hpp>

    template<typename patIter, typename traits = unspecified>
    class boyer_moore_horspool {
    public:

      // public member functions
      boyer_moore_horspool(patIter, patIter);
      ~boyer_moore_horspool();
      template<typename corpusIter>
        std::pair< corpusIter, corpusIter >
        operator()(corpusIter, corpusIter) const;
      template<typename Range>
        std::pair< typename boost::range_iterator< Range >::type, typename boost::range_iterator< Range >::type >
        operator()(Range &) const;
    };

## Description

### `boyer_moore_horspool` public member functions

1.     boyer_moore_horspool(patIter first, patIter last);

2.     ~boyer_moore_horspool();

3.     template<typename corpusIter>
         std::pair< corpusIter, corpusIter >
         operator()(corpusIter corpus_first, corpusIter corpus_last) const;

4.     template<typename Range>
         std::pair< typename boost::range_iterator< Range >::type, typename boost::range_iterator< Range >::type >
         operator()(Range & r) const;