<!DOCTYPE html><htmllang='en'><head><title>[qty.conv.ops]</title><metacharset='UTF-8'/><linkrel='stylesheet'type='text/css'href='14882.css'/><linkrel='stylesheet'type='text/css'href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><linkrel='stylesheet'type='text/css'href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><linkrel='stylesheet'type='text/css'href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><linkrel='icon'href='icon.png'/><linkrel='stylesheet'type='text/css'href='expanded.css'title='Normal'/><linkrel='alternate stylesheet'type='text/css'href='colored.css'title='Notes and examples colored'/><linkrel='alternate stylesheet'type='text/css'href='normative-only.css'title='Notes and examples hidden'/></head><body><divclass='wrapper'><h1><aclass='secnum'style='min-width:50pt'>5</a> Quantities and units library <aclass='abbr_ref'href='index.html#quantities'>[quantities]</a></h1><h2><aclass='secnum'style='min-width:65pt'>5.6</a> Quantity <aclass='abbr_ref'href='qty.html#conv.ops'>[qty]</a></h2><h3><aclass='secnum'style='min-width:80pt'>5.6.8</a> Conversion operations <aclass='abbr_ref'>[qty.conv.ops]</a></h3><divclass='texpara'><divid='lib:quantity,operator_constructible_from<Rep>'><divclass='itemdecl'><divclass='marginalizedparent'><aclass='itemDeclLink'href='#lib:quantity,operator_constructible_from%3cRep%3e'>🔗</a></div><codeclass='itemdeclcode'><spanclass='keyword'>template</span><spanclass='anglebracket'><</span><spanclass='keyword'>typename</span> V_, std<spanclass='operator'>::</span>constructible_from<spanclass='anglebracket'><</span>Rep<spanclass='anglebracket'>></span> Value <spanclass='operator'>=</span> std<spanclass='operator'>::</span>remove_cvref_t<spanclass='anglebracket'><</span>V_<spanclass='anglebracket'>></span><spanclass='anglebracket'>></span>
</code></div></div></div><divclass='para'id='2'><divclass='marginalizedparent'><aclass='marginalized'href='#2'>2</a></div><divclass='itemdescr'><divclass='sourceLinkParent'><aclass='sourceLink'href='https://github.com/mpusz/mp-units329ffdaacb1bd7bed08565ac80d9eef7ccb1e5b5/source/quantities.tex#L4751'>#</a></div><divclass='texpara'><divid='2.sentence-1'class='sentence'><i>Effects</i>: Equivalent to:
</span></div></div></div></div><divclass='para'id='3'><divclass='marginalizedparent'><aclass='marginalized'href='#3'>3</a></div><divclass='itemdescr'><divclass='sourceLinkParent'><aclass='sourceLink'href='https://github.com/mpusz/mp-units329ffdaacb1bd7bed08565ac80d9eef7ccb1e5b5/source/quantities.tex#L4759'>#</a></div><divclass='texpara'><divid='3.sentence-1'class='sentence'><i>Remarks</i>: The expression inside <spanclass='texttt'><spanclass='keyword'>explicit</span></span> is equivalent to: