feat: full-on dimensional analysis between related quantity kinds
This commit is contained in:
1 parent
dad9b4f166
commit
017183653d
11 files changed
+295
-49
No files matched your search
@@ -336,7 +336,6 @@ static_assert(!constructible_or_convertible_from<nth_apple<percent, int>>(apples
|
||||
static_assert(!constructible_or_convertible_from<nth_apple<percent, int>>(apples<percent, double>(dimensionless<percent>(1))));
|
||||
static_assert(!constructible_or_convertible_from<nth_apple<one, int>>(apples<one, double>(1.0)));
|
||||
static_assert(!constructible_or_convertible_from<nth_apple<one, int>>(apples<percent, double>(dimensionless<percent>(1))));
|
||||
static_assert(!constructible_or_convertible_from<nth_apple<one, int>>(width<metre, int>(1 * m) / m));
|
||||
static_assert(!constructible_or_convertible_from<nth_apple<one, int>>(oranges<one, int>(1)));
|
||||
// clang-format on
|
||||
|
||||
|
||||
Reference in new issue
Block a user