alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
decay.hpp File Reference
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  alpaka
 main alpaka namespace.

Variables

template<typename T, typename U>
constexpr auto alpaka::is_decayed_v = std::is_same_v<std::decay_t<T>, std::decay_t<U>>
 Provides a decaying wrapper around std::is_same. Example: is_decayed_v<volatile float, float> returns true.