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

◆ mismatch() [1/11]

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

Definition at line 667 of file glue_algorithm_impl.h.

668{
669 //TODO: to get rid of "distance"
670 return std::mismatch(std::forward<_ExecutionPolicy>(__exec), __first1, __last1, __first2,
671 std::next(__first2, std::distance(__first1, __last1)));
672}
constexpr _Tp && forward(typename std::remove_reference< _Tp >::type &__t) noexcept
Forward an lvalue.
Definition move.h:72
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(), forward(), mismatch(), and next().

Here is the call graph for this function: