Skip to content

mp_units::quantity::quantity

Default constructor

Synopsis

Declared in <mp-units/framework/quantity.h>

template<typename... Qs>
  requires detail::ComposableFrom<reference, rep, Qs...>
[[nodiscard]] constexpr quantity(Qs const&... qs);

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
qsThe object to copy construct from