kokkos-utils 0.0.1
 
Loading...
Searching...
No Matches
type_traits.hpp File Reference
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  Kokkos
 
namespace  Kokkos::utils
 
namespace  Kokkos::utils::impl
 

Concepts

concept  Kokkos::utils::impl::InstanceOf
 
concept  Kokkos::utils::impl::IsTypeOneOf
 Check if T is the same as one of the types Ts.
 

Variables

Check if a type is an instantiation of a given class template.
template<class T, template< typename... > class U>
constexpr bool Kokkos::utils::impl::is_instance_of_v = std::false_type{}
 
template<template< typename... > class U, typename... Vs>
constexpr bool Kokkos::utils::impl::is_instance_of_v< U< Vs... >, U > = std::true_type{}
 

Detailed Description

This file provides extensions to the type_traits standard header.

References:

Definition in file type_traits.hpp.