Construct from FwdValue

Synopsis

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

template<typename FwdValue>
requires detail::ExplicitFromNumber<reference> && detail::ValuePreservingConstruction<rep, FwdValue>
constexpr
explicit(!std::convertible_to<FwdValue, rep> || !implicitly_convertible(quantity_spec, dimensionless))
quantity(FwdValue&& val);

Parameters

Name Description

val

The object to move construct from

Created with MrDocs