Skip to content

Commit

Permalink
Fix CTAD in merge sort (#2069)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriy-sobolev authored Feb 18, 2025
1 parent 7b0ba90 commit 1eba1c2
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,11 @@ struct __merge_sort_global_submitter<_IndexT, __internal::__optional_kernel_name
{
}
};
// Clang 17 and earlier, as well as other compilers based on them, such as DPC++ 2023.2
// are prone to https://github.com/llvm/llvm-project/issues/46200,
// which prevents automatic template argument deduction of a nested class.
template <typename Rng>
DropViews(Rng&, const WorkDataArea&) -> DropViews<Rng>;

template <typename _ExecutionPolicy>
std::size_t
Expand Down

0 comments on commit 1eba1c2

Please sign in to comment.