mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 05:04:27 +02:00
fix: Atomic constraints fixed for safe_convertible_to_
This commit is contained in:
@@ -41,8 +41,8 @@ concept floating_point_ = // exposition only
|
||||
|
||||
template<typename From, typename To>
|
||||
concept safe_convertible_to_ = // exposition only
|
||||
!(Quantity<From>) &&
|
||||
!(Quantity<To>) &&
|
||||
(!Quantity<From>) &&
|
||||
(!Quantity<To>) &&
|
||||
std::convertible_to<From, To> &&
|
||||
(floating_point_<To> || (!floating_point_<From>));
|
||||
|
||||
|
Reference in New Issue
Block a user