From: Wolfgang Bangerth Date: Wed, 18 Dec 2024 17:41:16 +0000 (-0700) Subject: Deprecate parallel::transform(). X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55ae0d8310390d2ee0b64307341e4827cc04aa36;p=dealii.git Deprecate parallel::transform(). --- 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