|
|
|
@ -217,9 +217,6 @@ template<std::size_t size, class T> class Vector { |
|
|
|
/** @brief Copy constructor */ |
|
|
|
/** @brief Copy constructor */ |
|
|
|
constexpr Vector(const Vector<size, T>&) = default; |
|
|
|
constexpr Vector(const Vector<size, T>&) = default; |
|
|
|
|
|
|
|
|
|
|
|
/** @brief Assignment operator */ |
|
|
|
|
|
|
|
Vector<size, T>& operator=(const Vector<size, T>&) = default; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** @brief Convert vector to external representation */ |
|
|
|
/** @brief Convert vector to external representation */ |
|
|
|
template<class U, class V = decltype(Implementation::VectorConverter<size, T, U>::to(std::declval<Vector<size, T>>()))> constexpr explicit operator U() const { |
|
|
|
template<class U, class V = decltype(Implementation::VectorConverter<size, T, U>::to(std::declval<Vector<size, T>>()))> constexpr explicit operator U() const { |
|
|
|
return Implementation::VectorConverter<size, T, U>::to(*this); |
|
|
|
return Implementation::VectorConverter<size, T, U>::to(*this); |
|
|
|
@ -1117,11 +1114,6 @@ extern template MAGNUM_EXPORT Corrade::Utility::Debug& operator<<(Corrade::Utili |
|
|
|
return Math::Vector<size, T>::pad(a, value); \
|
|
|
|
return Math::Vector<size, T>::pad(a, value); \
|
|
|
|
} \
|
|
|
|
} \
|
|
|
|
\
|
|
|
|
\
|
|
|
|
Type<T>& operator=(const Type<T>& other) { \
|
|
|
|
|
|
|
|
Math::Vector<size, T>::operator=(other); \
|
|
|
|
|
|
|
|
return *this; \
|
|
|
|
|
|
|
|
} \
|
|
|
|
|
|
|
|
\
|
|
|
|
|
|
|
|
Type<T> operator-() const { \
|
|
|
|
Type<T> operator-() const { \
|
|
|
|
return Math::Vector<size, T>::operator-(); \
|
|
|
|
return Math::Vector<size, T>::operator-(); \
|
|
|
|
} \
|
|
|
|
} \
|
|
|
|
|