|
kokkos-utils 0.0.5
|
Concepts | |
| concept | InstanceOf |
| concept | IsTypeOneOf |
Check if T is the same as one of the types Ts. | |
Typedefs | |
Make a type list if it's not one already. | |
| template<typename... Args> | |
| using | make_type_list_t = typename make_type_list<Args...>::type |
Get the @p I th type in a @c Kokkos::Impl::type_list. | |
| template<size_t I, typename T> | |
| using | type_list_at_t = typename TypeListAt<I, T>::type |
Transform a @c Kokkos::Impl::type_list. | |
| template<template< typename > typename TransformerType, typename T> | |
| using | transform_type_list_t = typename TransformTypeList<TransformerType, T>::type |
Convert a @c Kokkos::Impl::type_list into a @c std::tuple. | |
| template<typename T> | |
| using | type_list_to_tuple_t = typename TypeListToTuple<T>::type |
Functions | |
| template<typename TypeList, typename Callable> | |
| constexpr void | for_each (Callable callable) |
Calls the instantiation of the call operator of a callable object for each type in a Kokkos::Impl::type_list. | |
Variables | |
| template<template< typename > typename UnaryPred, typename... TypeList> | |
| constexpr bool | type_list_any_v = type_list_any<UnaryPred, TypeList...>::value |
Check if a type is a @c Kokkos::Impl::type_list. | |
| template<typename T> | |
| constexpr bool | is_type_list_v = is_type_list<T>::value |
Get the number of types in a @c Kokkos::Impl::type_list. | |
| template<typename T> | |
| constexpr size_t | type_list_size_v = TypeListSize<T>::value |
Whether a type is contained in a @c Kokkos::Impl::type_list. | |
| template<typename U, typename... TypeList> | |
| constexpr bool | type_list_contains_v = TypeListContains<U, TypeList...>::value |
Get the index of a type in a @c Kokkos::Impl::type_list. | |
| template<typename T, typename S> | |
| constexpr size_t | type_list_index_v = TypeListIndex<T, S>::value |
Check that a predicate is @c true for all types in a type list. | |
| template<template< typename > typename UnaryPred, typename... TypeList> | |
| constexpr bool | type_list_all_v = type_list_all<UnaryPred, TypeList...>::value |
Check if a type is an instantiation of a given class template. | |
| template<class T, template< typename... > class U> | |
| constexpr bool | is_instance_of_v = std::false_type{} |
| template<template< typename... > class U, typename... Vs> | |
| constexpr bool | is_instance_of_v< U< Vs... >, U > = std::true_type{} |
| using Kokkos::utils::impl::make_type_list_t = typename make_type_list<Args...>::type |
Definition at line 44 of file type_list.hpp.
| using Kokkos::utils::impl::transform_type_list_t = typename TransformTypeList<TransformerType, T>::type |
Definition at line 107 of file type_list.hpp.
| using Kokkos::utils::impl::type_list_at_t = typename TypeListAt<I, T>::type |
Definition at line 92 of file type_list.hpp.
| using Kokkos::utils::impl::type_list_to_tuple_t = typename TypeListToTuple<T>::type |
Definition at line 122 of file type_list.hpp.
|
constexpr |
Calls the instantiation of the call operator of a callable object for each type in a Kokkos::Impl::type_list.
Definition at line 213 of file type_list.hpp.
|
inlineconstexpr |
Definition at line 26 of file type_traits.hpp.
|
inlineconstexpr |
Definition at line 29 of file type_traits.hpp.
|
inlineconstexpr |
Definition at line 23 of file type_list.hpp.
|
inlineconstexpr |
Definition at line 158 of file type_list.hpp.
|
inlineconstexpr |
Definition at line 208 of file type_list.hpp.
|
inlineconstexpr |
Definition at line 73 of file type_list.hpp.
|
inlineconstexpr |
Definition at line 139 of file type_list.hpp.
|
inlineconstexpr |
Definition at line 56 of file type_list.hpp.