From e0baba4e7c57e8ab97be3a9a8c17c239f4931013 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 21 Mar 2023 13:33:37 -0600 Subject: [PATCH] Use assignable_from instead of convertible_to concepts in parallel.h. --- include/deal.II/base/parallel.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/include/deal.II/base/parallel.h b/include/deal.II/base/parallel.h index 106493dfe0..4da420b7eb 100644 --- a/include/deal.II/base/parallel.h +++ b/include/deal.II/base/parallel.h @@ -135,8 +135,8 @@ namespace parallel template DEAL_II_CXX20_REQUIRES( (std::invocable && - std::convertible_to, - decltype(*std::declval())>)) + std::assignable_from()), + std::invoke_result_t>)) void transform(const InputIterator &begin_in, const InputIterator &end_in, OutputIterator out, @@ -197,9 +197,9 @@ namespace parallel typename Function> DEAL_II_CXX20_REQUIRES( (std::invocable && - std::convertible_to< - std::invoke_result_t, - decltype(*std::declval())>)) + std::assignable_from< + decltype(*std::declval()), + std::invoke_result_t>)) void transform(const InputIterator1 &begin_in1, const InputIterator1 &end_in1, InputIterator2 in2, @@ -263,11 +263,11 @@ namespace parallel typename Function> DEAL_II_CXX20_REQUIRES( (std::invocable && - std::convertible_to, - decltype(*std::declval())>)) + std::assignable_from()), + std::invoke_result_t>)) void transform(const InputIterator1 &begin_in1, const InputIterator1 &end_in1, InputIterator2 in2, -- 2.39.5