VS2019 support added

This commit is contained in:
Mateusz Pusz committed 2020-09-04 23:06:57 +02:00
1 parent 71e3dba69a
commit b318e8d039
38 files changed
+253 -160

No files matched your search

+5 -1
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)