Add inc-/dec- operator declaration.

This commit is contained in:
THoehne 2024-06-26 23:03:34 +02:00
parent ed30070286
commit 6dc83c3b0d

View File

@ -354,7 +354,17 @@ namespace Phanes::Core::Math {
bool operator!= (const TVector2<T, S>& v1, const TVector2<T, S>& v2);
template<RealType T, bool A>
TVector2<T, A>& operator++(TVector2<T, A>& v1);
template<RealType T, bool A>
TVector2<T, A>& operator--(TVector2<T, A>& v1);
template<RealType T, bool A>
TVector2<T, A>& operator++(TVector2<T, A>& v1, int);
template<RealType T, bool S>
TVector2<T, S>& operator--(TVector2<T, S>& v1, int);
// ============================================ //
// TVector2 static function implementation //