refactor: detail::same_scaled_units renamed to detail::compatible_units
This commit is contained in:
1 parent
768f400cc3
commit
ef7e7c4cfc
2 files changed
+4
-4
No files matched your search
@@ -26,12 +26,12 @@
|
||||
|
||||
namespace units::detail {
|
||||
|
||||
// same_scaled_units
|
||||
// compatible_units
|
||||
template<typename ExpList, Unit... Us>
|
||||
inline constexpr bool same_scaled_units = false;
|
||||
inline constexpr bool compatible_units = false;
|
||||
|
||||
template<typename... Es, Unit... Us>
|
||||
inline constexpr bool same_scaled_units<exponent_list<Es...>, Us...> = (UnitOf<Us, typename Es::dimension> && ...);
|
||||
inline constexpr bool compatible_units<exponent_list<Es...>, Us...> = (UnitOf<Us, typename Es::dimension> && ...);
|
||||
|
||||
// derived_scaled_unit
|
||||
|
||||
|
||||
Reference in new issue
Block a user