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

Function template mismatch

Boost , Boost.Test , Header <boost/test/utils/algorithm.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

Function template mismatch

boost::unit_test::utils::mismatch — this algorithm search through two collections for first mismatch position that get returned as a pair of iterators, first pointing to the mismatch position in first collection, second iterator in second one. This algorithms uses supplied predicate for collection elements comparison

Synopsis

// In header: <boost/test/utils/algorithm.hpp>

template<typename InputIter1, typename InputIter2, typename Predicate> 
  std::pair< InputIter1, InputIter2 > 
  mismatch(InputIter1 first1, InputIter1 last1, InputIter2 first2, 
           InputIter2 last2, Predicate pred);

Description

Параметры:

<first1>

- первый итератор сборки

<first2>

- второй итератор сборки

<last1>

- первый итератор конца коллекции

<last2>

- второй конечный итератор коллекции

<pred>

- предикат, используемый для поиска


PrevUpHomeNext

Статья Function template mismatch раздела Boost.Test Header <boost/test/utils/algorithm.hpp> может быть полезна для разработчиков на c++ и boost.




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



:: Главная :: Header <boost/test/utils/algorithm.hpp> ::


реклама


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

Время компиляции файла: 2024-08-30 11:47:00
2025-05-20 02:54:27/0.0032210350036621/0