Abstracts T into an equal or greater size array of integers whose size is between min_integer_type_size and max_interger_type_size inclusive.
More...
#include <types.hpp>
|
| using | integer_type = std::conditional_t<((alignof(T) >=alignof(unsigned long long) &&sizeof(unsigned long long)<=max_integer_type_size)||sizeof(unsigned long)< min_integer_type_size), unsigned long long, std::conditional_t<((alignof(T) >=alignof(unsigned long) &&sizeof(unsigned long)<=max_integer_type_size)||sizeof(unsigned int)< min_integer_type_size), unsigned long, std::conditional_t<((alignof(T) >=alignof(unsigned int) &&sizeof(unsigned int)<=max_integer_type_size)||sizeof(unsigned short)< min_integer_type_size), unsigned int, std::conditional_t<((alignof(T) >=alignof(unsigned short) &&sizeof(unsigned short)<=max_integer_type_size)||sizeof(unsigned char)< min_integer_type_size), unsigned short, std::conditional_t<((alignof(T) >=alignof(unsigned char) &&sizeof(unsigned char)<=max_integer_type_size)), unsigned char, void > >> >> |
| |
template<typename T, size_t min_integer_type_size = 1, size_t max_integer_type_size = sizeof(unsigned long long)>
struct RAJA::detail::AsIntegerArray< T, min_integer_type_size, max_integer_type_size >
Abstracts T into an equal or greater size array of integers whose size is between min_integer_type_size and max_interger_type_size inclusive.
◆ integer_type
template<typename T , size_t min_integer_type_size = 1, size_t max_integer_type_size = sizeof(unsigned long long)>
| using RAJA::detail::AsIntegerArray< T, min_integer_type_size, max_integer_type_size >::integer_type = std::conditional_t< ((alignof(T) >= alignof(unsigned long long) && sizeof(unsigned long long) <= max_integer_type_size) || sizeof(unsigned long) < min_integer_type_size), unsigned long long, std::conditional_t< ((alignof(T) >= alignof(unsigned long) && sizeof(unsigned long) <= max_integer_type_size) || sizeof(unsigned int) < min_integer_type_size), unsigned long, std::conditional_t< ((alignof(T) >= alignof(unsigned int) && sizeof(unsigned int) <= max_integer_type_size) || sizeof(unsigned short) < min_integer_type_size), unsigned int, std::conditional_t< ((alignof(T) >= alignof(unsigned short) && sizeof(unsigned short) <= max_integer_type_size) || sizeof(unsigned char) < min_integer_type_size), unsigned short, std::conditional_t<((alignof(T) >= alignof(unsigned char) && sizeof(unsigned char) <= max_integer_type_size)), unsigned char, void> >> >> |
◆ AsIntegerArray()
template<typename T , size_t min_integer_type_size = 1, size_t max_integer_type_size = sizeof(unsigned long long)>
◆ array_size()
template<typename T , size_t min_integer_type_size = 1, size_t max_integer_type_size = sizeof(unsigned long long)>
◆ get_value()
template<typename T , size_t min_integer_type_size = 1, size_t max_integer_type_size = sizeof(unsigned long long)>
◆ set_value()
template<typename T , size_t min_integer_type_size = 1, size_t max_integer_type_size = sizeof(unsigned long long)>
◆ num_integer_type
template<typename T , size_t min_integer_type_size = 1, size_t max_integer_type_size = sizeof(unsigned long long)>
Initial value:=
std::conditional_t<((alignof(T) >=alignof(unsigned long long) &&sizeof(unsigned long long)<=max_integer_type_size)||sizeof(unsigned long)< min_integer_type_size), unsigned long long, std::conditional_t<((alignof(T) >=alignof(unsigned long) &&sizeof(unsigned long)<=max_integer_type_size)||sizeof(unsigned int)< min_integer_type_size), unsigned long, std::conditional_t<((alignof(T) >=alignof(unsigned int) &&sizeof(unsigned int)<=max_integer_type_size)||sizeof(unsigned short)< min_integer_type_size), unsigned int, std::conditional_t<((alignof(T) >=alignof(unsigned short) &&sizeof(unsigned short)<=max_integer_type_size)||sizeof(unsigned char)< min_integer_type_size), unsigned short, std::conditional_t<((alignof(T) >=alignof(unsigned char) &&sizeof(unsigned char)<=max_integer_type_size)), unsigned char, void > >> >> integer_type
Definition: types.hpp:989
◆ array
template<typename T , size_t min_integer_type_size = 1, size_t max_integer_type_size = sizeof(unsigned long long)>
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/raja/checkouts/v2025.12.2/include/RAJA/util/types.hpp