Enforce template syntax typename over class

This commit is contained in:
Thaddeus Crews 2024-03-07 20:29:49 -06:00
parent aef11a1427
commit 9903e6779b
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
101 changed files with 538 additions and 538 deletions

View file

@ -242,10 +242,10 @@ inline bool is_convertible_array(Variant::Type type) {
type == Variant::PACKED_COLOR_ARRAY;
}
template <class, class = void>
template <typename, typename = void>
inline constexpr bool is_vector_type_v = false;
template <class T>
template <typename T>
inline constexpr bool is_vector_type_v<T, std::void_t<decltype(T::AXIS_COUNT)>> = true;
template <typename T, typename P>