All UDLs are now prefixed with q_
This commit is contained in:
1 parent
0566cc631d
commit
18620044c5
65 files changed
+768
-768
No files matched your search
@@ -62,7 +62,7 @@ namespace {
|
||||
struct kilogram_per_second : unit<kilogram_per_second> {};
|
||||
struct dim_mass_rate : derived_dimension<dim_mass_rate, kilogram_per_second, units::exp<si::dim_mass, 1>, units::exp<si::dim_time, -1>> {};
|
||||
struct kilogram_per_hour : deduced_unit<kilogram_per_hour, dim_mass_rate, si::kilogram, si::hour> {};
|
||||
constexpr auto a = 1kg / 1h;
|
||||
constexpr auto a = 1q_kg / 1q_h;
|
||||
static_assert(std::is_same_v<decltype(a)::unit, kilogram_per_hour>);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user