VS2019 support added

This commit is contained in:
Mateusz Pusz
2020-09-04 23:00:57 +02:00
parent 71e3dba69a
commit b318e8d039
38 changed files with 253 additions and 160 deletions

View File

@ -28,6 +28,10 @@
#include <array>
#include <iostream>
#if COMP_MSVC || COMP_GCC >= 10
#include <compare>
#endif
// horizontal/vertical vector
namespace {
@ -70,7 +74,7 @@ public:
return *this;
}
#if __GNUC__ >= 10
#if COMP_MSVC || COMP_GCC >= 10
template<typename Q2>
[[nodiscard]] friend constexpr auto operator<=>(const vector& lhs, const vector<Q2, D>& rhs)