refactor: 💥 ! derived_deduced_unit renamed to derived_scaled_unit
Naming is hard ;-)
This commit is contained in:
1 parent
32b36fb670
commit
5300caf17b
16 files changed
+65
-65
No files matched your search
+2
-2
@@ -33,7 +33,7 @@ inline constexpr bool same_scaled_units = false;
|
||||
template<typename... Es, Unit... Us>
|
||||
inline constexpr bool same_scaled_units<exponent_list<Es...>, Us...> = (UnitOf<Us, typename Es::dimension> && ...);
|
||||
|
||||
// derived_deduced_unit
|
||||
// derived_scaled_unit
|
||||
|
||||
template<Exponent E>
|
||||
constexpr ratio inverse_if_negative(const ratio& r)
|
||||
@@ -52,7 +52,7 @@ constexpr ratio derived_ratio(exponent_list<Es...>)
|
||||
}
|
||||
|
||||
template<DerivedDimension D, Unit... Us>
|
||||
using derived_deduced_unit =
|
||||
using derived_scaled_unit =
|
||||
scaled_unit<derived_ratio<Us...>(typename D::recipe()), typename D::coherent_unit::reference>;
|
||||
|
||||
} // namespace units::detail
|
||||
Reference in new issue
Block a user