Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Class template knuth_morris_pratt

Boost , The Boost Algorithm Library , Header <boost/algorithm/searching/knuth_morris_pratt.hpp>

Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Class template knuth_morris_pratt

boost::algorithm::knuth_morris_pratt

Synopsis

// In header: <boost/algorithm/searching/knuth_morris_pratt.hpp>
template<typename patIter> 
class knuth_morris_pratt {
public:
  // construct/copy/destruct
  knuth_morris_pratt(patIter, patIter);
  ~knuth_morris_pratt();
  // public member functions
  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

knuth_morris_pratt public construct/copy/destruct

  1. <
    knuth_morris_pratt(patIterfirst,patIterlast);
    >
  2. <
    ~knuth_morris_pratt();
    >

knuth_morris_pratt public member functions

  1. <
    template<typenamecorpusIter>
     std::pair<corpusIter,corpusIter>
     operator()(corpusItercorpus_first,corpusItercorpus_last)const;
    >
  2. <
    template<typenameRange>
     std::pair<typenameboost::range_iterator<Range>::type,typenameboost::range_iterator<Range>::type>
     operator()(Range&r)const;
    >

PrevUpHomeNext

Статья Class template knuth_morris_pratt раздела The Boost Algorithm Library Header <boost/algorithm/searching/knuth_morris_pratt.hpp> может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: Header <boost/algorithm/searching/knuth_morris_pratt.hpp> ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-05-19 19:18:04/0.0080838203430176/1