mp_units::quantity::quantity¶
Construct from T
Synopsis¶
Declared in <mp-units/framework/quantity.h>
template<typename T>
requires detail::ComposableFromTupleLike<reference, rep, T>
[[nodiscard]] constexpr quantity(T const& components);
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| components | The object to copy construct from |