alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::concepts::HasApi Concept Reference

Concept to check if the given type implements the getApi(T x) function returning an alpaka::concepts::Api. More...

#include <interface.hpp>

Concept definition

template<typename T_Any>
concept HasApi = requires(T_Any&& any) {
}
Concept to check for APIs.
Definition api.hpp:42
Concept to check if the given type implements the getApi(T x) function returning an alpaka::concepts:...
Definition interface.hpp:64
constexpr decltype(auto) getApi(auto &&any)
Get the API an object depends on.
Definition interface.hpp:42

Detailed Description

Concept to check if the given type implements the getApi(T x) function returning an alpaka::concepts::Api.

Definition at line 64 of file interface.hpp.