Scale value by the unit magnitude passed as m, converting to type To.
Synopsis
Declared in <mp‐units/framework/scaling.h>
template<
typename To,
UnitMagnitude M,
typename From>
requires requires(const From& v) { scaling_traits<From, To>::template scale<M{}>(v); }
[[nodiscard]]
constexpr
To
scale(
M,
From const& value);
Created with MrDocs