mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07:16 +02:00
VS2019 support added
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user