DPC++ Runtime
Runtime libraries for oneAPI Data Parallel C++
cl::sycl::ext::oneapi::detail::AreAllButLastReductions< FirstT, RestT > Struct Template Reference

Predicate returning true if all template type parameters except the last one are reductions. More...

#include <CL/sycl/handler.hpp>

Collaboration diagram for cl::sycl::ext::oneapi::detail::AreAllButLastReductions< FirstT, RestT >:

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename FirstT, typename... RestT>
struct cl::sycl::ext::oneapi::detail::AreAllButLastReductions< FirstT, RestT >

Predicate returning true if all template type parameters except the last one are reductions.

Definition at line 322 of file handler.hpp.

Member Data Documentation

◆ value

template<typename FirstT , typename... RestT>
constexpr bool cl::sycl::ext::oneapi::detail::AreAllButLastReductions< FirstT, RestT >::value
staticconstexpr
Initial value:
=
std::is_base_of<reduction_impl_base, FirstT>::value &&
AreAllButLastReductions<RestT...>::value

Definition at line 358 of file reduction.hpp.


The documentation for this struct was generated from the following files:
cl::sycl::ext::oneapi::detail::AreAllButLastReductions::value
static constexpr bool value
Definition: reduction.hpp:358