mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 02:17:16 +02:00
refactor: UnitCompatibleWith
is now exposition-only
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user