alpaka
Abstraction Library for Parallel Kernel Acceleration
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
9
namespace
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
alpaka::meta
Definition:
Apply.hpp:8
alpaka::meta::DependentFalseType
A false_type being dependent on a ignored template parameter. This allows to use static_assert in uni...
Definition:
DependentFalseType.hpp:15
include
alpaka
meta
DependentFalseType.hpp
Generated on Thu Nov 21 2024 22:46:15 for alpaka by
1.9.1