44 template<
typename InputIterator,
typename UnaryFunction>
46 ( InputIterator
first, InputIterator last, UnaryFunction f )
48 for (; first!=last; ++first)
67 template<
typename ForwardIterator1,
typename ForwardIterator2>
69 ( ForwardIterator1 first1, ForwardIterator1 last1,
70 ForwardIterator2 first2, ForwardIterator2 last2 )
72 for ( ; first1!=last1; ++first1 )
75 for ( ForwardIterator2 it(first2); !found && (it!=last2); ++it )
76 found = *first1 == *it;
111 template<
typename ForwardIterator1,
typename ForwardIterator2,
112 typename ForwardIterator3>
114 ( ForwardIterator1 first, ForwardIterator1 last,
115 ForwardIterator2 e1_first, ForwardIterator2 e1_last,
116 ForwardIterator3 e2_first, ForwardIterator3 e2_last )
118 if ( (e1_first == e1_last) || (e2_first == e2_last) )
121 std::size_t count(0);
123 for ( ; first != last; ++first )
126 ForwardIterator3 r(e2_first);
128 for (ForwardIterator2 it=e1_first; !stop && (it!=e1_last); ++it)
138 ForwardIterator3 n=r;