mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 12:24:26 +02:00
refactor: unneeded get_associated_quantity
forward declaration removed
This commit is contained in:
@@ -116,9 +116,6 @@ template<NamedQuantitySpec Q>
|
|||||||
requires requires { Q::dimension; }
|
requires requires { Q::dimension; }
|
||||||
using to_dimension = MP_UNITS_NONCONST_TYPE(Q::dimension);
|
using to_dimension = MP_UNITS_NONCONST_TYPE(Q::dimension);
|
||||||
|
|
||||||
template<AssociatedUnit U>
|
|
||||||
[[nodiscard]] consteval auto get_associated_quantity(U);
|
|
||||||
|
|
||||||
template<QuantitySpec auto... From, QuantitySpec Q>
|
template<QuantitySpec auto... From, QuantitySpec Q>
|
||||||
[[nodiscard]] consteval QuantitySpec auto clone_kind_of(Q q);
|
[[nodiscard]] consteval QuantitySpec auto clone_kind_of(Q q);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user