alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
DependentFalseType.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#include <type_traits>
8
9namespace alpaka::meta
10{
11 //! A false_type being dependent on a ignored template parameter.
12 //! This allows to use static_assert in uninstantiated template specializations without triggering.
13 template<typename T>
14 struct DependentFalseType : std::false_type
15 {
16 };
17} // namespace alpaka::meta
A false_type being dependent on a ignored template parameter. This allows to use static_assert in uni...