libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ mismatch() [2/11]

template<class _ExecutionPolicy, class _ForwardIterator1, class _ForwardIterator2, class _BinaryPredicate>
__pstl::__internal::__enable_if_execution_policy< _ExecutionPolicy, std::pair< _ForwardIterator1, _ForwardIterator2 > > std::mismatch ( _ExecutionPolicy && __exec,
_ForwardIterator1 __first1,
_ForwardIterator1 __last1,
_ForwardIterator2 __first2,
_BinaryPredicate __pred )

Definition at line 649 of file glue_algorithm_impl.h.

651{
652 return std::mismatch(__exec, __first1, __last1, __first2, std::next(__first2, std::distance(__first1, __last1)),
653 __pred);
654}
constexpr iterator_traits< _InputIterator >::difference_type distance(_InputIterator __first, _InputIterator __last)
A generalization of pointer arithmetic.
constexpr _InputIterator next(_InputIterator __x, typename iterator_traits< _InputIterator >::difference_type __n=1)
constexpr pair< _IIter1, _IIter2 > mismatch(_IIter1, _IIter1, _IIter2)

References distance(), mismatch(), and next().

Here is the call graph for this function: