Guessing at what MSVC wants

This commit is contained in:
Chip Hogg
2022-01-28 20:13:35 +00:00
parent 4c9a2c5c5c
commit e3a790667d

View File

@@ -337,7 +337,7 @@ struct magnitude {
// The value of this magnitude, expressed in a given type.
template<typename T>
requires is_magnitude_integral || std::is_floating_point_v<T>
requires (magnitude::is_magnitude_integral || std::is_floating_point_v<T>)
static constexpr T value = detail::checked_static_cast<T>(
(detail::compute_base_power<T>(BPs) * ...));
};