Construct from Value

Synopsis

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

template<typename Value>
requires detail::ExplicitFromNumber<reference> && detail::RepConvertibleFrom<rep, Value> &&
             (!std::convertible_to<Value, rep>)
constexpr
explicit
quantity(Value val);

Parameters

Name Description

val

The object to construct from

Created with MrDocs