[#mp_units-quantity-01-2constructor-0f0] = xref:mp_units.adoc[mp_units]::xref:mp_units/quantity-01.adoc[quantity]::quantity :relfileprefix: ../../ :mrdocs: Deleted overload that rejects truncating conversions when constructing without a reference. == Synopsis Declared in `<mp‐units/framework/quantity.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Value> requires detail::ExplicitFromNumber<reference> && (!detail::RepConstructibleFrom<rep, Value>) constexpr explicit(!std::convertible_to<Value, rep> || !mp_units::implicitly_convertible(quantity_spec, dimensionless)) quantity(Value val) = delete; ---- == Parameters [cols="1,4"] |=== | Name| Description | *val* | the numerical value that would be truncated when converted to `rep` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#