VS2019 support added

This commit is contained in:
Mateusz Pusz
2020-09-04 23:06:57 +02:00
parent 71e3dba69a
commit b318e8d039
38 changed files with 253 additions and 160 deletions
+2 -2
View File
@@ -28,7 +28,7 @@
#include <units/bits/to_string.h>
#include <units/quantity_cast.h>
#if __GNUC__ >= 10
#if COMP_MSVC || COMP_GCC >= 10
#include <compare>
#endif
@@ -219,7 +219,7 @@ public:
// Hidden Friends
// Below friend functions are to be found via argument-dependent lookup only
#if __GNUC__ >= 10
#if COMP_MSVC || COMP_GCC >= 10
template<typename D2, typename U2, typename Rep2>
[[nodiscard]] friend constexpr auto operator<=>(const quantity& lhs, const quantity<D2, U2, Rep2>& rhs)