31#ifndef FENNEC_MATH_VECTOR_TRAITS_H
32#define FENNEC_MATH_VECTOR_TRAITS_H
66#include <fennec/math/detail/_vector_traits.h>
74template<
typename T>
struct is_vector : detail::_is_vector_helper<remove_cvref_t<T>>{};
84template<
typename T>
struct component_count : detail::_component_count_helper<remove_cvref_t<T>>{};
Get the number of Components in T, returns 1 for types that pass is_arithmetic<T>,...
Definition vector_traits.h:84
metaprogramming integral constant
Definition constants.h:76
check if T is a fennec::vector type
Definition vector_traits.h:74
Get the total number of Components among types in TypesT.
Definition vector_traits.h:94
constexpr size_t component_count_v
shorthand for component_count<T>::value
Definition vector_traits.h:89
constexpr size_t total_component_count_v
shorthand for component_count<T>::value
Definition vector_traits.h:102
constexpr bool is_vector_v
shorthand for is_vector<T>::value
Definition vector_traits.h:79