|
|
@ -48,12 +48,7 @@ namespace Utils |
|
|
|
typedef T ComponentType; |
|
|
|
typedef T ComponentType; |
|
|
|
typedef Version<T, N, Mandatory> ThisType; |
|
|
|
typedef Version<T, N, Mandatory> ThisType; |
|
|
|
|
|
|
|
|
|
|
|
constexpr Version() |
|
|
|
constexpr Version() = default; |
|
|
|
: m_components {{}} |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
constexpr Version(const ThisType &other) = default; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
template <typename ... Other> |
|
|
|
template <typename ... Other> |
|
|
|
constexpr Version(Other ... components) |
|
|
|
constexpr Version(Other ... components) |
|
|
@ -187,7 +182,7 @@ namespace Utils |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
ComponentsArray m_components; |
|
|
|
ComponentsArray m_components {{}}; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
template <typename T, std::size_t N, std::size_t Mandatory> |
|
|
|
template <typename T, std::size_t N, std::size_t Mandatory> |
|
|
|