mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Enforce template syntax typename over class
This commit is contained in:
parent
aef11a1427
commit
9903e6779b
101 changed files with 538 additions and 538 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue