From 55ae0d8310390d2ee0b64307341e4827cc04aa36 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 18 Dec 2024 10:41:16 -0700 Subject: [PATCH] Deprecate parallel::transform(). --- include/deal.II/base/parallel.h | 36 ++++++++++++++++----------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/include/deal.II/base/parallel.h b/include/deal.II/base/parallel.h index 06f7c511fd..b5c0f4e109 100644 --- a/include/deal.II/base/parallel.h +++ b/include/deal.II/base/parallel.h @@ -162,11 +162,11 @@ namespace parallel decltype(*std::declval()), std::invoke_result_t())>>)) - void transform(const InputIterator &begin_in, - const InputIterator &end_in, - OutputIterator out, - const Function &function, - const unsigned int grainsize) + DEAL_II_DEPRECATED_EARLY void transform(const InputIterator &begin_in, + const InputIterator &end_in, + OutputIterator out, + const Function &function, + const unsigned int grainsize) { #ifndef DEAL_II_WITH_TBB // make sure we don't get compiler @@ -237,12 +237,12 @@ namespace parallel std::invoke_result_t()), decltype(*std::declval())>>)) - void transform(const InputIterator1 &begin_in1, - const InputIterator1 &end_in1, - InputIterator2 in2, - OutputIterator out, - const Function &function, - const unsigned int grainsize) + DEAL_II_DEPRECATED_EARLY void transform(const InputIterator1 &begin_in1, + const InputIterator1 &end_in1, + InputIterator2 in2, + OutputIterator out, + const Function &function, + const unsigned int grainsize) { #ifndef DEAL_II_WITH_TBB // make sure we don't get compiler @@ -319,13 +319,13 @@ namespace parallel decltype(*std::declval()), decltype(*std::declval()), decltype(*std::declval())>>)) - void transform(const InputIterator1 &begin_in1, - const InputIterator1 &end_in1, - InputIterator2 in2, - InputIterator3 in3, - OutputIterator out, - const Function &function, - const unsigned int grainsize) + DEAL_II_DEPRECATED_EARLY void transform(const InputIterator1 &begin_in1, + const InputIterator1 &end_in1, + InputIterator2 in2, + InputIterator3 in3, + OutputIterator out, + const Function &function, + const unsigned int grainsize) { #ifndef DEAL_II_WITH_TBB // make sure we don't get compiler -- 2.39.5