STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
search.h File Reference

Parallel implementation base for std::search() and std::search_n(). This file is a GNU parallel extension to the Standard C++ Library. More...

#include <bits/stl_algobase.h>
#include <parallel/parallel.h>
#include <parallel/equally_split.h>

Go to the source code of this file.

Namespaces

 __gnu_parallel
 GNU parallel code for public use.
 

Functions

template<typename _RAIter , typename _DifferenceTp >
void __gnu_parallel::__calc_borders (_RAIter __elements, _DifferenceTp __length, _DifferenceTp *__off)
 Precalculate __advances for Knuth-Morris-Pratt algorithm. More...
 
template<typename __RAIter1 , typename __RAIter2 , typename _Pred >
__RAIter1 __gnu_parallel::__search_template (__RAIter1 __begin1, __RAIter1 __end1, __RAIter2 __begin2, __RAIter2 __end2, _Pred __pred)
 Parallel std::search. More...
 

Detailed Description

Parallel implementation base for std::search() and std::search_n(). This file is a GNU parallel extension to the Standard C++ Library.