alpaka
Abstraction Library for Parallel Kernel Acceleration
Transform.hpp
Go to the documentation of this file.
1 /* Copyright 2022 Benjamin Worpitz, Bernhard Manfred Gruber
2  * SPDX-License-Identifier: MPL-2.0
3  */
4 
5 #pragma once
6 
7 namespace alpaka::meta
8 {
9  namespace detail
10  {
11  template<typename Ts, template<typename...> class TOp>
12  struct TransformImpl;
13 
14  template<template<typename...> class TList, typename... Ts, template<typename...> class TOp>
15  struct TransformImpl<TList<Ts...>, TOp>
16  {
17  using type = TList<TOp<Ts>...>;
18  };
19  } // namespace detail
20  template<typename Ts, template<typename...> class TOp>
22 } // namespace alpaka::meta
typename detail::TransformImpl< Ts, TOp >::type Transform
Definition: Transform.hpp:21