Index: .gitignore =================================================================== --- /dev/null +++ .gitignore @@ -0,0 +1,2 @@ +build/*.exe +build/*.o \ No newline at end of file Index: include/pstl/internal/algorithm_impl.h =================================================================== --- include/pstl/internal/algorithm_impl.h +++ include/pstl/internal/algorithm_impl.h @@ -2428,6 +2428,7 @@ return internal::brick_fill_n(__first, __count, __value, __is_vector); } +#if __PSTL_USE_PAR_POLICIES template _OutputIterator pattern_fill_n(_ExecutionPolicy&& __exec, _OutputIterator __first, _Size __count, const _Tp& __value, @@ -2436,6 +2437,7 @@ return internal::pattern_fill(std::forward<_ExecutionPolicy>(__exec), __first, __first + __count, __value, std::true_type(), __is_vector); } +#endif //------------------------------------------------------------------------ // generate, generate_n @@ -2502,6 +2504,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, @@ -2512,6 +2515,7 @@ return internal::pattern_generate(std::forward<_ExecutionPolicy>(__exec), __first, __first + __count, __g, std::true_type(), __is_vector); } +#endif //------------------------------------------------------------------------ // remove Index: include/pstl/internal/numeric_impl.h =================================================================== --- include/pstl/internal/numeric_impl.h +++ include/pstl/internal/numeric_impl.h @@ -14,7 +14,6 @@ #include #include -#include "pstl_config.h" #include "execution_impl.h" #include "unseq_backend_simd.h"