alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::concepts::ImplementsConcept< TConcept, TDerived > Struct Template Reference

Checks whether the concept is implemented by the given class. More...

#include <Concepts.hpp>

Static Public Member Functions

static auto implements (...) -> std::false_type
 
template<typename TBase >
static auto implements (Implements< TConcept, TBase > &) -> std::true_type
 

Static Public Attributes

static constexpr auto value = decltype(implements(std::declval<TDerived&>()))::value
 

Detailed Description

template<typename TConcept, typename TDerived>
struct alpaka::concepts::ImplementsConcept< TConcept, TDerived >

Checks whether the concept is implemented by the given class.

Definition at line 20 of file Concepts.hpp.

Member Function Documentation

◆ implements() [1/2]

template<typename TConcept , typename TDerived >
static auto alpaka::concepts::ImplementsConcept< TConcept, TDerived >::implements (   ...) -> std::false_type
static

◆ implements() [2/2]

template<typename TConcept , typename TDerived >
template<typename TBase >
static auto alpaka::concepts::ImplementsConcept< TConcept, TDerived >::implements ( Implements< TConcept, TBase > &  ) -> std::true_type
static

Member Data Documentation

◆ value

template<typename TConcept , typename TDerived >
constexpr auto alpaka::concepts::ImplementsConcept< TConcept, TDerived >::value = decltype(implements(std::declval<TDerived&>()))::value
staticconstexpr

Definition at line 26 of file Concepts.hpp.


The documentation for this struct was generated from the following file: