From: Wolfgang Bangerth Date: Fri, 30 May 2025 17:32:32 +0000 (-0600) Subject: Disambiguate one of the WorkStream::run() overloads. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F18522%2Fhead;p=dealii.git Disambiguate one of the WorkStream::run() overloads. --- diff --git a/include/deal.II/base/work_stream.h b/include/deal.II/base/work_stream.h index 3135a62e92..c62bc450d8 100644 --- a/include/deal.II/base/work_stream.h +++ b/include/deal.II/base/work_stream.h @@ -1579,12 +1579,16 @@ namespace WorkStream * both of which return iterators to elements that form the bounds of the * range. */ - template >> + template < + typename Worker, + typename Copier, + typename IteratorRangeType, + typename ScratchData, + typename CopyData, + typename = std::enable_if_t< + has_begin_and_end && + !std::is_same_v>>> void run(IteratorRangeType iterator_range, Worker worker, @@ -1813,11 +1817,15 @@ namespace WorkStream * both of which return iterators to elements that form the bounds of the * range. */ - template >> + template < + typename MainClass, + typename IteratorRangeType, + typename ScratchData, + typename CopyData, + typename = std::enable_if_t< + has_begin_and_end && + !std::is_same_v>>> void run( IteratorRangeType iterator_range,