Index: pstl/trunk/include/pstl/internal/algorithm_impl.h =================================================================== --- pstl/trunk/include/pstl/internal/algorithm_impl.h +++ pstl/trunk/include/pstl/internal/algorithm_impl.h @@ -177,6 +177,7 @@ return internal::brick_walk1_n(__first, __n, __f, __is_vector); } +#if __PSTL_USE_PAR_POLICIES template _RandomAccessIterator pattern_walk1_n(_ExecutionPolicy&& __exec, _RandomAccessIterator __first, _Size __n, _Function __f, @@ -187,6 +188,7 @@ std::true_type()); return __first + __n; } +#endif template _ForwardIterator @@ -2499,6 +2501,7 @@ return internal::brick_generate_n(__first, __count, __g, __is_vector); } +#if __PSTL_USE_PAR_POLICIES template _OutputIterator pattern_generate_n(_ExecutionPolicy&& __exec, _OutputIterator __first, _Size __count, _Generator __g, @@ -2509,6 +2512,7 @@ return internal::pattern_generate(std::forward<_ExecutionPolicy>(__exec), __first, __first + __count, __g, std::true_type(), __is_vector); } +#endif //------------------------------------------------------------------------ // remove