refactor: UnitCompatibleWith is now exposition-only

This commit is contained in:
Mateusz Pusz
2024-06-30 12:06:26 +02:00
parent ba8681f90b
commit 3d6e50c67a
4 changed files with 7 additions and 21 deletions

View File

@ -148,16 +148,6 @@ concept with an associated quantity type implicitly convertible to `V`.
[nested quantity kind within the dimensionless quantities tree](dimensionless_quantities.md/#nested-quantity-kinds).
### `UnitCompatibleWith<T, V1, V2>` { #UnitCompatibleWith }
`UnitCompatibleWith` concept is satisfied for all units `T` when:
- `V1` is a [`Unit`](#Unit),
- `V2` is a [`QuantitySpec`](#QuantitySpec),
- `T` and `V1` are defined in terms of the same reference unit,
- if `T` is an [`AssociatedUnit`](#AssociatedUnit) it should satisfy [`UnitOf<V2>`](#UnitOf).
## `Reference<T>` { #Reference }
`Reference` concept is satisfied by all [quantity reference](../../appendix/glossary.md#reference)