feat: DimensionOf and QuantitySpecOf added and reused in ReferenceOf concept

This commit is contained in:
Mateusz Pusz
2023-08-18 10:58:25 +02:00
parent 1e00acd49f
commit a3cf3f4087
6 changed files with 32 additions and 15 deletions
@@ -792,6 +792,7 @@ static_assert((velocity / acceleration).character == quantity_character::scalar)
// common_quantity_spec
static_assert(common_quantity_spec(length, length) == length);
static_assert(common_quantity_spec(kind_of<length>, kind_of<length>) == kind_of<length>);
static_assert(common_quantity_spec(kind_of<length>, length) == length);
static_assert(common_quantity_spec(length, kind_of<length>) == length);
static_assert(common_quantity_spec(width, kind_of<length>) == width);