|
Argon 0.1.0
|
Contains helper templates and concepts for type manipulation and compile-time utilities. More...
Classes | |
| struct | ArgonFor |
| Helper template to get the Argon type for a given vector type. More... | |
| struct | NextLarger |
| Helper template to determine the next larger type for a given type. More... | |
| struct | NextSmaller |
| Helper template to determine the next smaller type for a given type. More... | |
Concepts | |
| concept | has_smaller |
| Concept to check if a type has a smaller corresponding type. | |
| concept | has_larger |
Typedefs | |
| template<typename T> | |
| using | NextLarger_t = NextLarger<T>::type |
| Helper alias to get the next larger type for a given type. | |
| template<typename T> | |
| using | NextSmaller_t = NextSmaller<T>::type |
| Helper alias to get the next smaller type for a given type. | |
| template<typename T> | |
| using | ArgonFor_t = typename ArgonFor<std::remove_cv_t<T>>::type |
| Helper alias to get the Argon type for a given vector type. | |
Functions | |
| template<typename T> | |
| constexpr size_t | vectorizeable_size (size_t size) |
| Calculates the size of a vectorized range. | |
| template<typename T> | |
| constexpr size_t | vectorized_size (size_t size) |
| Calculates the number of vectorized elements in a range. | |
Variables | |
| template<typename T> | |
| constexpr bool | has_smaller_v |
| Helper template to determine if a type has a smaller corresponding type. | |
| template<typename T> | |
| constexpr bool | has_larger_v |
| Helper template to determine if a type has a larger corresponding type. | |
Contains helper templates and concepts for type manipulation and compile-time utilities.
| using argon::helpers::ArgonFor_t = typename ArgonFor<std::remove_cv_t<T>>::type |
| using argon::helpers::NextLarger_t = NextLarger<T>::type |
Helper alias to get the next larger type for a given type.
| T | The scalar type to determine the next larger type for. |
| using argon::helpers::NextSmaller_t = NextSmaller<T>::type |
Helper alias to get the next smaller type for a given type.
| T | The scalar type to determine the next smaller type for. |
|
constexpr |
Calculates the size of a vectorized range.
| T | The type of the elements in the range. |
| size | The size of the range. |
|
constexpr |
Calculates the number of vectorized elements in a range.
| T | The type of the elements in the range. |
| size | The size of the range. |
|
constexpr |
Helper template to determine if a type has a larger corresponding type.
| T | The scalar type to check. |
|
constexpr |
Helper template to determine if a type has a smaller corresponding type.
| T | The scalar type to check. |