Deployed 50970969 to HEAD with MkDocs 1.6.1 and mike 2.1.3

This commit is contained in:
github-actions
2024-11-07 17:54:53 +00:00
parent 5092f01adb
commit fe9f432274
28 changed files with 139 additions and 120 deletions

View File

@@ -1,11 +1,11 @@
<!DOCTYPE html><html lang='en'><head><title>[defs]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>3</a> Terms and definitions <a class='abbr_ref' href='index.html#defs'>[defs]</a></h1><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L50'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'><a class='index' id=':definitions'></a>For the purposes of this document, <!DOCTYPE html><html lang='en'><head><title>[defs]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>3</a> Terms and definitions <a class='abbr_ref' href='index.html#defs'>[defs]</a></h1><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L50'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'><a class='index' id=':definitions'></a>For the purposes of this document,
the terms and definitions given in the terms and definitions given in
IEC 60050-102:2007/AMD3:2021, IEC 60050-102:2007/AMD3:2021,
IEC 60050-112:2010/AMD2:2020, IEC 60050-112:2010/AMD2:2020,
ISO 80000-2:2019, ISO 80000-2:2019,
and and
N4971, N4971,
and the following apply<a class='hidden_link' href='#1.sentence-1'>.</a></div></div></div><div class='para' id='2'><div class='marginalizedparent'><a class='marginalized' href='#2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L61'>#</a></div><div class='texpara'><div id='2.sentence-1' class='sentence'>ISO and IEC maintain terminology databases and the following apply<a class='hidden_link' href='#1.sentence-1'>.</a></div></div></div><div class='para' id='2'><div class='marginalizedparent'><a class='marginalized' href='#2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L61'>#</a></div><div class='texpara'><div id='2.sentence-1' class='sentence'>ISO and IEC maintain terminology databases
for use in standardization for use in standardization
at the following addresses: at the following addresses:
<ul class='itemize'><li id='2.1'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#2.1'>(2.1)</a></div>ISO Online browsing platform: available at <a href='https://www.iso.org/obp'>https://www.iso.org/obp</a></li><li id='2.2'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#2.2'>(2.2)</a></div>IEC Electropedia: available at <a href='http://www.electropedia.org'>http://www.electropedia.org</a></li></ul> <ul class='itemize'><li id='2.1'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#2.1'>(2.1)</a></div>ISO Online browsing platform: available at <a href='https://www.iso.org/obp'>https://www.iso.org/obp</a></li><li id='2.2'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#2.2'>(2.2)</a></div>IEC Electropedia: available at <a href='http://www.electropedia.org'>http://www.electropedia.org</a></li></ul>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html><html lang='en'><head><title>[qty.helpers]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>5</a> Quantities library <a class='abbr_ref' href='index.html#qties'>[qties]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>5.5</a> Helpers <a class='abbr_ref'>[qty.helpers]</a></h2><div class='texpara'><div class='itemdecl' id='itemdecl:1'><div class='marginalizedparent'><a class='itemDeclLink' href='#itemdecl:1'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>consteval</span> <span class='keyword'>bool</span> <span class='texttt'><i >converts-to-base-subobject-of</i></span><span class='parenthesis'>(</span>std<span class='operator'>::</span>meta type, std<span class='operator'>::</span>meta template_name<span class='parenthesis'>)</span>; <!DOCTYPE html><html lang='en'><head><title>[qty.helpers]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>5</a> Quantities library <a class='abbr_ref' href='index.html#qties'>[qties]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>5.5</a> Helpers <a class='abbr_ref'>[qty.helpers]</a></h2><div class='texpara'><div class='itemdecl' id='itemdecl:1'><div class='marginalizedparent'><a class='itemDeclLink' href='#itemdecl:1'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>consteval</span> <span class='keyword'>bool</span> <span class='texttt'><i >converts-to-base-subobject-of</i></span><span class='parenthesis'>(</span>std<span class='operator'>::</span>meta type, std<span class='operator'>::</span>meta template_name<span class='parenthesis'>)</span>;
</code></div></div><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/quantities.tex#L122'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'><i >Preconditions</i>: <span class='texttt'>is_<span class='shy'></span>type<span class='parenthesis'>(</span>type<span class='parenthesis'>)</span> <span class='operator'>&amp;</span><span class='operator'>&amp;</span> is_<span class='shy'></span>template<span class='parenthesis'>(</span>template_<span class='shy'></span>name<span class='parenthesis'>)</span></span> is <span class='texttt'><span class='literal'>true</span></span><a class='hidden_link' href='#1.sentence-1'>.</a></div></div></div></div><div class='para' id='2'><div class='marginalizedparent'><a class='marginalized' href='#2'>2</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/quantities.tex#L126'>#</a></div><div class='texpara'><div id='2.sentence-1' class='sentence'><i >Returns</i>: <span class='texttt'><span class='literal'>true</span></span> if </code></div></div><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/quantities.tex#L122'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'><i >Preconditions</i>: <span class='texttt'>is_<span class='shy'></span>type<span class='parenthesis'>(</span>type<span class='parenthesis'>)</span> <span class='operator'>&amp;</span><span class='operator'>&amp;</span> is_<span class='shy'></span>template<span class='parenthesis'>(</span>template_<span class='shy'></span>name<span class='parenthesis'>)</span></span> is <span class='texttt'><span class='literal'>true</span></span><a class='hidden_link' href='#1.sentence-1'>.</a></div></div></div></div><div class='para' id='2'><div class='marginalizedparent'><a class='marginalized' href='#2'>2</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/quantities.tex#L126'>#</a></div><div class='texpara'><div id='2.sentence-1' class='sentence'><i >Returns</i>: <span class='texttt'><span class='literal'>true</span></span> if
<span class='texttt'><span class='squarebracket'>[</span><span class='operator'>:</span>type<span class='operator'>:</span><span class='squarebracket'>]</span></span> has an unambiguous and accessible base <span class='texttt'><span class='squarebracket'>[</span><span class='operator'>:</span>type<span class='operator'>:</span><span class='squarebracket'>]</span></span> has an unambiguous and accessible base
that is a specialization of <span class='texttt'><span class='squarebracket'>[</span><span class='operator'>:</span>template_<span class='shy'></span>name<span class='operator'>:</span><span class='squarebracket'>]</span></span>, and that is a specialization of <span class='texttt'><span class='squarebracket'>[</span><span class='operator'>:</span>template_<span class='shy'></span>name<span class='operator'>:</span><span class='squarebracket'>]</span></span>, and
<span class='texttt'><span class='literal'>false</span></span> otherwise<a class='hidden_link' href='#2.sentence-1'>.</a></div></div></div></div></div></body></html> <span class='texttt'><span class='literal'>false</span></span> otherwise<a class='hidden_link' href='#2.sentence-1'>.</a></div></div></div></div></div></body></html>

View File

@@ -7,7 +7,7 @@
<span class='keyword'>template</span><span class='anglebracket'>&lt;</span><span class='keyword'>typename</span> Rep<span class='anglebracket'>&gt;</span> <span class='keyword'>template</span><span class='anglebracket'>&lt;</span><span class='keyword'>typename</span> Rep<span class='anglebracket'>&gt;</span>
<span class='keyword'>constexpr</span> <span class='keyword'>bool</span> <span id='lib:is_tensor'><a class='hidden_link' href='#lib:is_tensor' title='5.6&emsp;Traits&emsp;[qty.traits]'>is_tensor</a></span> <span class='operator'>=</span> <span class='literal'>false</span>; <span class='keyword'>constexpr</span> <span class='keyword'>bool</span> <span id='lib:is_tensor'><a class='hidden_link' href='#lib:is_tensor' title='5.6&emsp;Traits&emsp;[qty.traits]'>is_tensor</a></span> <span class='operator'>=</span> <span class='literal'>false</span>;
</code></div></div><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/quantities.tex#L149'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'><i >Remarks</i>: Pursuant to <a href="https://wg21.link/namespace.std">N4971, [namespace.std]</a> (<a href='spec.ext.html' title='4.1&emsp;External'>[spec.<span class='shy'></span>ext]</a>), </code></div></div><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/quantities.tex#L149'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'><i >Remarks</i>: Pursuant to <a href="https://wg21.link/namespace.std">N4971, [namespace.std]</a> (<a href='spec.ext.html' title='4.1&emsp;External'>[spec.<span class='shy'></span>ext]</a>),
users may specialize <span class='texttt'>is_<span class='shy'></span>scalar</span>, <span class='texttt'>is_<span class='shy'></span>vector</span>, and <span class='texttt'>is_<span class='shy'></span>tensor</span> to <span class='texttt'><span class='literal'>true</span></span> users may specialize <span class='texttt'>is_<span class='shy'></span>scalar</span>, <span class='texttt'>is_<span class='shy'></span>vector</span>, and <span class='texttt'>is_<span class='shy'></span>tensor</span> to <span class='texttt'><span class='literal'>true</span></span>
for cv-unqualified program-defined types for cv-unqualified program-defined types
which respectively represent which respectively represent

View File

@@ -1,8 +1,8 @@
<!DOCTYPE html><html lang='en'><head><title>[qty.types.general]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>5</a> Quantities library <a class='abbr_ref' href='index.html#qties'>[qties]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>5.8</a> Types <a class='abbr_ref' href='qty.types.html#general'>[qty.types]</a></h2><h3 ><a class='secnum' style='min-width:80pt'>5.8.1</a> General <a class='abbr_ref'>[qty.types.general]</a></h3><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/quantities.tex#L196'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'>A <a class='hidden_link' href='#def:type,quantity' title='5.8.1&emsp;General&emsp;[qty.types.general]'><span id='def:type,quantity'><i >quantity type</i></span></a> <!DOCTYPE html><html lang='en'><head><title>[qty.types.general]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>5</a> Quantities library <a class='abbr_ref' href='index.html#qties'>[qties]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>5.8</a> Types <a class='abbr_ref' href='qty.types.html#general'>[qty.types]</a></h2><h3 ><a class='secnum' style='min-width:80pt'>5.8.1</a> General <a class='abbr_ref'>[qty.types.general]</a></h3><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/quantities.tex#L196'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'>A <a class='hidden_link' href='#def:type,quantity' title='5.8.1&emsp;General&emsp;[qty.types.general]'><span id='def:type,quantity'><i >quantity type</i></span></a>
is a type <span class='texttt'><i >Q</i></span> is a type <span class='texttt'><i >Q</i></span>
that is a specialization of <span class='texttt'>quantity</span> or <span class='texttt'>quantity_<span class='shy'></span>point</span><a class='hidden_link' href='#1.sentence-1'>.</a></div> <div id='1.sentence-2' class='sentence'><span class='texttt'><i >Q</i></span> represents a quantity (<a href="https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=112-01-01">IEC 60050, 112-01-01</a>) that is a specialization of <span class='texttt'>quantity</span> or <span class='texttt'>quantity_<span class='shy'></span>point</span><a class='hidden_link' href='#1.sentence-1'>.</a></div> <div id='1.sentence-2' class='sentence'><span class='texttt'><i >Q</i></span> represents a quantity (<a href="https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=112-01-01">IEC 60050, 112-01-01</a>)
with <span class='texttt'><i >Q</i><span class='operator'>&#x200b;::&#x200b;</span>rep</span> as its number with <span class='texttt'><i >Q</i><span class='operator'>&#x200b;::&#x200b;</span>rep</span> as its number
and <span class='texttt'><i >Q</i><span class='operator'>&#x200b;::&#x200b;</span>reference</span> as its reference<a class='hidden_link' href='#1.sentence-2'>.</a></div> <div id='1.sentence-3' class='sentence'><span class='texttt'><i >Q</i></span> is a structural type (<a href="https://wg21.link/temp.paramterm.structural.type">N4971, [temp.param]</a>) and <span class='texttt'><i >Q</i><span class='operator'>&#x200b;::&#x200b;</span>reference</span> as its reference<a class='hidden_link' href='#1.sentence-2'>.</a></div> <div id='1.sentence-3' class='sentence'><span class='texttt'><i >Q</i></span> is a structural type (<a href="https://wg21.link/temp.paramterm.structural.type">N4971, [temp.param]</a>)
if <span class='texttt'><i >Q</i><span class='operator'>&#x200b;::&#x200b;</span>rep</span> is a structural type<a class='hidden_link' href='#1.sentence-3'>.</a></div></div></div><div class='para' id='2'><div class='marginalizedparent'><a class='marginalized' href='#2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/quantities.tex#L206'>#</a></div><div class='texpara'><div id='2.sentence-1' class='sentence'>Each class template defined in subclause <a href='qty.types.html' title='5.8&emsp;Types'>[qty.<span class='shy'></span>types]</a> if <span class='texttt'><i >Q</i><span class='operator'>&#x200b;::&#x200b;</span>rep</span> is a structural type<a class='hidden_link' href='#1.sentence-3'>.</a></div></div></div><div class='para' id='2'><div class='marginalizedparent'><a class='marginalized' href='#2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/quantities.tex#L206'>#</a></div><div class='texpara'><div id='2.sentence-1' class='sentence'>Each class template defined in subclause <a href='qty.types.html' title='5.8&emsp;Types'>[qty.<span class='shy'></span>types]</a>
has data members and special members specified below, and has data members and special members specified below, and
has no base classes or members other than those specified<a class='hidden_link' href='#2.sentence-1'>.</a></div></div></div></div></body></html> has no base classes or members other than those specified<a class='hidden_link' href='#2.sentence-1'>.</a></div></div></div></div></body></html>

View File

@@ -1,9 +1,9 @@
<!DOCTYPE html><html lang='en'><head><title>[qty.types]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>5</a> Quantities library <a class='abbr_ref' href='index.html#qties'>[qties]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>5.8</a> Types <a class='abbr_ref'>[qty.types]</a></h2><div id='general' class='section'><h3 ><a class='secnum' href='#general' style='min-width:80pt'>5.8.1</a> General <a class='abbr_ref' href='qty.types.general.html'>[qty.types.general]</a></h3><div class='para' id='general-1'><div class='marginalizedparent'><a class='marginalized' href='#general-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/quantities.tex#L196'>#</a></div><div class='texpara'><div id='general-1.sentence-1' class='sentence'>A <a class='hidden_link' href='#def:type,quantity' title='5.8.1&emsp;General&emsp;[qty.types.general]'><span id='def:type,quantity'><i >quantity type</i></span></a> <!DOCTYPE html><html lang='en'><head><title>[qty.types]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>5</a> Quantities library <a class='abbr_ref' href='index.html#qties'>[qties]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>5.8</a> Types <a class='abbr_ref'>[qty.types]</a></h2><div id='general' class='section'><h3 ><a class='secnum' href='#general' style='min-width:80pt'>5.8.1</a> General <a class='abbr_ref' href='qty.types.general.html'>[qty.types.general]</a></h3><div class='para' id='general-1'><div class='marginalizedparent'><a class='marginalized' href='#general-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/quantities.tex#L196'>#</a></div><div class='texpara'><div id='general-1.sentence-1' class='sentence'>A <a class='hidden_link' href='#def:type,quantity' title='5.8.1&emsp;General&emsp;[qty.types.general]'><span id='def:type,quantity'><i >quantity type</i></span></a>
is a type <span class='texttt'><i >Q</i></span> is a type <span class='texttt'><i >Q</i></span>
that is a specialization of <span class='texttt'>quantity</span> or <span class='texttt'>quantity_<span class='shy'></span>point</span><a class='hidden_link' href='#general-1.sentence-1'>.</a></div> <div id='general-1.sentence-2' class='sentence'><span class='texttt'><i >Q</i></span> represents a quantity (<a href="https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=112-01-01">IEC 60050, 112-01-01</a>) that is a specialization of <span class='texttt'>quantity</span> or <span class='texttt'>quantity_<span class='shy'></span>point</span><a class='hidden_link' href='#general-1.sentence-1'>.</a></div> <div id='general-1.sentence-2' class='sentence'><span class='texttt'><i >Q</i></span> represents a quantity (<a href="https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=112-01-01">IEC 60050, 112-01-01</a>)
with <span class='texttt'><i >Q</i><span class='operator'>&#x200b;::&#x200b;</span>rep</span> as its number with <span class='texttt'><i >Q</i><span class='operator'>&#x200b;::&#x200b;</span>rep</span> as its number
and <span class='texttt'><i >Q</i><span class='operator'>&#x200b;::&#x200b;</span>reference</span> as its reference<a class='hidden_link' href='#general-1.sentence-2'>.</a></div> <div id='general-1.sentence-3' class='sentence'><span class='texttt'><i >Q</i></span> is a structural type (<a href="https://wg21.link/temp.paramterm.structural.type">N4971, [temp.param]</a>) and <span class='texttt'><i >Q</i><span class='operator'>&#x200b;::&#x200b;</span>reference</span> as its reference<a class='hidden_link' href='#general-1.sentence-2'>.</a></div> <div id='general-1.sentence-3' class='sentence'><span class='texttt'><i >Q</i></span> is a structural type (<a href="https://wg21.link/temp.paramterm.structural.type">N4971, [temp.param]</a>)
if <span class='texttt'><i >Q</i><span class='operator'>&#x200b;::&#x200b;</span>rep</span> is a structural type<a class='hidden_link' href='#general-1.sentence-3'>.</a></div></div></div><div class='para' id='general-2'><div class='marginalizedparent'><a class='marginalized' href='#general-2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/quantities.tex#L206'>#</a></div><div class='texpara'><div id='general-2.sentence-1' class='sentence'>Each class template defined in subclause [qty.<span class='shy'></span>types] if <span class='texttt'><i >Q</i><span class='operator'>&#x200b;::&#x200b;</span>rep</span> is a structural type<a class='hidden_link' href='#general-1.sentence-3'>.</a></div></div></div><div class='para' id='general-2'><div class='marginalizedparent'><a class='marginalized' href='#general-2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/quantities.tex#L206'>#</a></div><div class='texpara'><div id='general-2.sentence-1' class='sentence'>Each class template defined in subclause [qty.<span class='shy'></span>types]
has data members and special members specified below, and has data members and special members specified below, and
has no base classes or members other than those specified<a class='hidden_link' href='#general-2.sentence-1'>.</a></div></div></div></div><div id='qty.type' class='section'><h3 ><a class='secnum' href='#qty.type' style='min-width:80pt'>5.8.2</a> Class template <span class='texttt'>quantity</span> <a class='abbr_ref' href='qty.type.html'>[qty.type]</a></h3><div class='texpara'><span class='codeblock'><span class='keyword'>namespace</span> mp_units <span class='curlybracket'>{</span> has no base classes or members other than those specified<a class='hidden_link' href='#general-2.sentence-1'>.</a></div></div></div></div><div id='qty.type' class='section'><h3 ><a class='secnum' href='#qty.type' style='min-width:80pt'>5.8.2</a> Class template <span class='texttt'>quantity</span> <a class='abbr_ref' href='qty.type.html'>[qty.type]</a></h3><div class='texpara'><span class='codeblock'><span class='keyword'>namespace</span> mp_units <span class='curlybracket'>{</span>

View File

@@ -1,4 +1,4 @@
<!DOCTYPE html><html lang='en'><head><title>[refs]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>2</a> References <a class='abbr_ref' href='index.html#refs'>[refs]</a></h1><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L14'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'><a class='index' id=':references'></a>The following documents are referred to in the text <!DOCTYPE html><html lang='en'><head><title>[refs]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>2</a> References <a class='abbr_ref' href='index.html#refs'>[refs]</a></h1><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L14'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'><a class='index' id=':references'></a>The following documents are referred to in the text
in such a way that some or all of their content in such a way that some or all of their content
constitutes requirements of this document<a class='hidden_link' href='#1.sentence-1'>.</a></div> <div id='1.sentence-2' class='sentence'>For dated references, only the edition cited applies<a class='hidden_link' href='#1.sentence-2'>.</a></div> <div id='1.sentence-3' class='sentence'>For undated references, constitutes requirements of this document<a class='hidden_link' href='#1.sentence-1'>.</a></div> <div id='1.sentence-2' class='sentence'>For dated references, only the edition cited applies<a class='hidden_link' href='#1.sentence-2'>.</a></div> <div id='1.sentence-3' class='sentence'>For undated references,
the latest edition of the referenced document the latest edition of the referenced document

View File

@@ -1 +1 @@
<!DOCTYPE html><html lang='en'><head><title>[scope]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>1</a> Scope <a class='abbr_ref' href='index.html#scope'>[scope]</a></h1><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L6'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'><a class='index' id=':scope'></a>This document describes the contents of the <a class='hidden_link' href='#def:mp-units_library' title='1&emsp;Scope&emsp;[scope]'><span id='def:mp-units_library'><i >mp-units library</i></span></a><a class='hidden_link' href='#1.sentence-1'>.</a></div> </div></div></div></body></html> <!DOCTYPE html><html lang='en'><head><title>[scope]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>1</a> Scope <a class='abbr_ref' href='index.html#scope'>[scope]</a></h1><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L6'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'><a class='index' id=':scope'></a>This document describes the contents of the <a class='hidden_link' href='#def:mp-units_library' title='1&emsp;Scope&emsp;[scope]'><span id='def:mp-units_library'><i >mp-units library</i></span></a><a class='hidden_link' href='#1.sentence-1'>.</a></div> </div></div></div></body></html>

View File

@@ -1,4 +1,4 @@
<!DOCTYPE html><html lang='en'><head><title>[spec.cats]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='abbr_ref' href='index.html#spec'>[spec]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>4.2</a> Categories <a class='abbr_ref'>[spec.cats]</a></h2><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L96'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'>Detailed specifications for each of the components in the library are in <!DOCTYPE html><html lang='en'><head><title>[spec.cats]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='abbr_ref' href='index.html#spec'>[spec]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>4.2</a> Categories <a class='abbr_ref'>[spec.cats]</a></h2><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L96'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'>Detailed specifications for each of the components in the library are in
<a href='qties.html' title='5&emsp;Quantities library'>[qties]</a><a href='qties.html' title='5&emsp;Quantities library'>[qties]</a>, <a href='qties.html' title='5&emsp;Quantities library'>[qties]</a><a href='qties.html' title='5&emsp;Quantities library'>[qties]</a>,
as shown in Table <a href='#tab:lib.cats' title='Table 1: Library categories'>1</a><a class='hidden_link' href='#1.sentence-1'>.</a></div></div><div class='texpara'><div class='numberedTable' id='tab:lib.cats'>Table <a href='#tab:lib.cats'>1</a>: Library categories&emsp;<a href='./tab:lib.cats.html'>[tab:lib.cats]</a><br><table ><tr id='tab:lib.cats-row-1' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:lib.cats-row-1'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-1-column-1-sentence-1' class='sentence'><b>Clause</b></div></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-1-column-2-sentence-1' class='sentence'><b>Category</b></div></div></td></tr><tr id='tab:lib.cats-row-2' class='capsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:lib.cats-row-2'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-2-column-1-sentence-1' class='sentence'><a href='qties.html' title='5&emsp;Quantities library'>[qties]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-2-column-2-sentence-1' class='sentence'>Quantities library</div></div></td></tr></table></div></div></div><div class='para' id='2'><div class='marginalizedparent'><a class='marginalized' href='#2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L108'>#</a></div><div class='texpara'><div id='2.sentence-1' class='sentence'>The quantities library (<a href='qties.html' title='5&emsp;Quantities library'>[qties]</a>) as shown in Table <a href='#tab:lib.cats' title='Table 1: Library categories'>1</a><a class='hidden_link' href='#1.sentence-1'>.</a></div></div><div class='texpara'><div class='numberedTable' id='tab:lib.cats'>Table <a href='#tab:lib.cats'>1</a>: Library categories&emsp;<a href='./tab:lib.cats.html'>[tab:lib.cats]</a><br><table ><tr id='tab:lib.cats-row-1' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:lib.cats-row-1'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-1-column-1-sentence-1' class='sentence'><b>Clause</b></div></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-1-column-2-sentence-1' class='sentence'><b>Category</b></div></div></td></tr><tr id='tab:lib.cats-row-2' class='capsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:lib.cats-row-2'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-2-column-1-sentence-1' class='sentence'><a href='qties.html' title='5&emsp;Quantities library'>[qties]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-2-column-2-sentence-1' class='sentence'>Quantities library</div></div></td></tr></table></div></div></div><div class='para' id='2'><div class='marginalizedparent'><a class='marginalized' href='#2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L108'>#</a></div><div class='texpara'><div id='2.sentence-1' class='sentence'>The quantities library (<a href='qties.html' title='5&emsp;Quantities library'>[qties]</a>)
describes components for dealing with quantities<a class='hidden_link' href='#2.sentence-1'>.</a></div></div></div></div></body></html> describes components for dealing with quantities<a class='hidden_link' href='#2.sentence-1'>.</a></div></div></div></div></body></html>

View File

@@ -1,6 +1,6 @@
<!DOCTYPE html><html lang='en'><head><title>[spec.ext]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='abbr_ref' href='index.html#spec'>[spec]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>4.1</a> External <a class='abbr_ref'>[spec.ext]</a></h2><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L76'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'>The specification of the mp-units library subsumes <!DOCTYPE html><html lang='en'><head><title>[spec.ext]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='abbr_ref' href='index.html#spec'>[spec]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>4.1</a> External <a class='abbr_ref'>[spec.ext]</a></h2><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L76'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'>The specification of the mp-units library subsumes
<a href="https://wg21.link/description">N4971, [description]</a>, <a href="https://wg21.link/requirements">N4971, [requirements]</a>, <a href="https://wg21.link/concepts.equality">N4971, [concepts.equality]</a>, and SD-8, <a href="https://wg21.link/description">N4971, [description]</a>, <a href="https://wg21.link/requirements">N4971, [requirements]</a>, <a href="https://wg21.link/concepts.equality">N4971, [concepts.equality]</a>, and SD-8,
all assumingly amended for the context of this library<a class='hidden_link' href='#1.sentence-1'>.</a></div> <div id='note-1' class='note'><div class='texpara'>[<i>Note&nbsp;<a href='#note-1'>1</a></i>:&ensp;<div id='1.sentence-2' class='sentence'>This means that, non exhaustively, all assumingly amended for the context of this library<a class='hidden_link' href='#1.sentence-1'>.</a></div> <div id='note-1' class='note'><div class='texpara'>[<i>Note&nbsp;<a href='#note-1'>1</a></i>:&ensp;<div id='1.sentence-2' class='sentence'>This means that, non exhaustively,
<ul class='itemize'><li id='1.1'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#1.1'>(1.1)</a></div><span class='texttt'><span class='operator'>&#x200b;::&#x200b;</span>mp_<span class='shy'></span>units2</span> is a reserved namespace, and</li><li id='1.2'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#1.2'>(1.2)</a></div><span class='texttt'>std<span class='operator'>&#x200b;::&#x200b;</span>vector<span class='anglebracket'>&lt;</span>mp_<span class='shy'></span>units<span class='operator'>&#x200b;::&#x200b;</span><i >type</i><span class='anglebracket'>&gt;</span></span> <ul class='itemize'><li id='1.1'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#1.1'>(1.1)</a></div><span class='texttt'><span class='operator'>&#x200b;::&#x200b;</span>mp_<span class='shy'></span>units2</span> is a reserved namespace, and</li><li id='1.2'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#1.2'>(1.2)</a></div><span class='texttt'>std<span class='operator'>&#x200b;::&#x200b;</span>vector<span class='anglebracket'>&lt;</span>mp_<span class='shy'></span>units<span class='operator'>&#x200b;::&#x200b;</span><i >type</i><span class='anglebracket'>&gt;</span></span>
is a program-defined specialization and a library-defined specialization is a program-defined specialization and a library-defined specialization
from the point of view of the C++ standard library and the mp-units library, respectively<a class='hidden_link' href='#1.sentence-2'>.</a></li></ul></div>&nbsp;<i>end note</i>]</div></div></div></div><div class='para' id='2'><div class='marginalizedparent'><a class='marginalized' href='#2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L91'>#</a></div><div class='texpara'><div id='2.sentence-1' class='sentence'>The mp-units library is not part of the C++ implementation<a class='hidden_link' href='#2.sentence-1'>.</a></div></div></div></div></body></html> from the point of view of the C++ standard library and the mp-units library, respectively<a class='hidden_link' href='#1.sentence-2'>.</a></li></ul></div>&nbsp;<i>end note</i>]</div></div></div></div><div class='para' id='2'><div class='marginalizedparent'><a class='marginalized' href='#2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L91'>#</a></div><div class='texpara'><div id='2.sentence-1' class='sentence'>The mp-units library is not part of the C++ implementation<a class='hidden_link' href='#2.sentence-1'>.</a></div></div></div></div></body></html>

View File

@@ -1,12 +1,12 @@
<!DOCTYPE html><html lang='en'><head><title>[spec]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='abbr_ref' href='index.html#spec'>[spec]</a></h1><div id='ext' class='section'><h2 ><a class='secnum' href='#ext' style='min-width:65pt'>4.1</a> External <a class='abbr_ref' href='spec.ext.html'>[spec.ext]</a></h2><div class='para' id='ext-1'><div class='marginalizedparent'><a class='marginalized' href='#ext-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L76'>#</a></div><div class='texpara'><div id='ext-1.sentence-1' class='sentence'>The specification of the mp-units library subsumes <!DOCTYPE html><html lang='en'><head><title>[spec]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='abbr_ref' href='index.html#spec'>[spec]</a></h1><div id='ext' class='section'><h2 ><a class='secnum' href='#ext' style='min-width:65pt'>4.1</a> External <a class='abbr_ref' href='spec.ext.html'>[spec.ext]</a></h2><div class='para' id='ext-1'><div class='marginalizedparent'><a class='marginalized' href='#ext-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L76'>#</a></div><div class='texpara'><div id='ext-1.sentence-1' class='sentence'>The specification of the mp-units library subsumes
<a href="https://wg21.link/description">N4971, [description]</a>, <a href="https://wg21.link/requirements">N4971, [requirements]</a>, <a href="https://wg21.link/concepts.equality">N4971, [concepts.equality]</a>, and SD-8, <a href="https://wg21.link/description">N4971, [description]</a>, <a href="https://wg21.link/requirements">N4971, [requirements]</a>, <a href="https://wg21.link/concepts.equality">N4971, [concepts.equality]</a>, and SD-8,
all assumingly amended for the context of this library<a class='hidden_link' href='#ext-1.sentence-1'>.</a></div> <div id='ext-note-1' class='note'><div class='texpara'>[<i>Note&nbsp;<a href='#ext-note-1'>1</a></i>:&ensp;<div id='ext-1.sentence-2' class='sentence'>This means that, non exhaustively, all assumingly amended for the context of this library<a class='hidden_link' href='#ext-1.sentence-1'>.</a></div> <div id='ext-note-1' class='note'><div class='texpara'>[<i>Note&nbsp;<a href='#ext-note-1'>1</a></i>:&ensp;<div id='ext-1.sentence-2' class='sentence'>This means that, non exhaustively,
<ul class='itemize'><li id='ext-1.1'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#ext-1.1'>(1.1)</a></div><span class='texttt'><span class='operator'>&#x200b;::&#x200b;</span>mp_<span class='shy'></span>units2</span> is a reserved namespace, and</li><li id='ext-1.2'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#ext-1.2'>(1.2)</a></div><span class='texttt'>std<span class='operator'>&#x200b;::&#x200b;</span>vector<span class='anglebracket'>&lt;</span>mp_<span class='shy'></span>units<span class='operator'>&#x200b;::&#x200b;</span><i >type</i><span class='anglebracket'>&gt;</span></span> <ul class='itemize'><li id='ext-1.1'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#ext-1.1'>(1.1)</a></div><span class='texttt'><span class='operator'>&#x200b;::&#x200b;</span>mp_<span class='shy'></span>units2</span> is a reserved namespace, and</li><li id='ext-1.2'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#ext-1.2'>(1.2)</a></div><span class='texttt'>std<span class='operator'>&#x200b;::&#x200b;</span>vector<span class='anglebracket'>&lt;</span>mp_<span class='shy'></span>units<span class='operator'>&#x200b;::&#x200b;</span><i >type</i><span class='anglebracket'>&gt;</span></span>
is a program-defined specialization and a library-defined specialization is a program-defined specialization and a library-defined specialization
from the point of view of the C++ standard library and the mp-units library, respectively<a class='hidden_link' href='#ext-1.sentence-2'>.</a></li></ul></div>&nbsp;<i>end note</i>]</div></div></div></div><div class='para' id='ext-2'><div class='marginalizedparent'><a class='marginalized' href='#ext-2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L91'>#</a></div><div class='texpara'><div id='ext-2.sentence-1' class='sentence'>The mp-units library is not part of the C++ implementation<a class='hidden_link' href='#ext-2.sentence-1'>.</a></div></div></div></div><div id='cats' class='section'><h2 ><a class='secnum' href='#cats' style='min-width:65pt'>4.2</a> Categories <a class='abbr_ref' href='spec.cats.html'>[spec.cats]</a></h2><div class='para' id='cats-1'><div class='marginalizedparent'><a class='marginalized' href='#cats-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L96'>#</a></div><div class='texpara'><div id='cats-1.sentence-1' class='sentence'>Detailed specifications for each of the components in the library are in from the point of view of the C++ standard library and the mp-units library, respectively<a class='hidden_link' href='#ext-1.sentence-2'>.</a></li></ul></div>&nbsp;<i>end note</i>]</div></div></div></div><div class='para' id='ext-2'><div class='marginalizedparent'><a class='marginalized' href='#ext-2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L91'>#</a></div><div class='texpara'><div id='ext-2.sentence-1' class='sentence'>The mp-units library is not part of the C++ implementation<a class='hidden_link' href='#ext-2.sentence-1'>.</a></div></div></div></div><div id='cats' class='section'><h2 ><a class='secnum' href='#cats' style='min-width:65pt'>4.2</a> Categories <a class='abbr_ref' href='spec.cats.html'>[spec.cats]</a></h2><div class='para' id='cats-1'><div class='marginalizedparent'><a class='marginalized' href='#cats-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L96'>#</a></div><div class='texpara'><div id='cats-1.sentence-1' class='sentence'>Detailed specifications for each of the components in the library are in
<a href='qties.html' title='5&emsp;Quantities library'>[qties]</a><a href='qties.html' title='5&emsp;Quantities library'>[qties]</a>, <a href='qties.html' title='5&emsp;Quantities library'>[qties]</a><a href='qties.html' title='5&emsp;Quantities library'>[qties]</a>,
as shown in Table <a href='#tab:lib.cats' title='Table 1: Library categories'>1</a><a class='hidden_link' href='#cats-1.sentence-1'>.</a></div></div><div class='texpara'><div class='numberedTable' id='tab:lib.cats'>Table <a href='#tab:lib.cats'>1</a>: Library categories&emsp;<a href='./tab:lib.cats.html'>[tab:lib.cats]</a><br><table ><tr id='tab:lib.cats-row-1' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:lib.cats-row-1'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-1-column-1-sentence-1' class='sentence'><b>Clause</b></div></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-1-column-2-sentence-1' class='sentence'><b>Category</b></div></div></td></tr><tr id='tab:lib.cats-row-2' class='capsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:lib.cats-row-2'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-2-column-1-sentence-1' class='sentence'><a href='qties.html' title='5&emsp;Quantities library'>[qties]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-2-column-2-sentence-1' class='sentence'>Quantities library</div></div></td></tr></table></div></div></div><div class='para' id='cats-2'><div class='marginalizedparent'><a class='marginalized' href='#cats-2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L108'>#</a></div><div class='texpara'><div id='cats-2.sentence-1' class='sentence'>The quantities library (<a href='qties.html' title='5&emsp;Quantities library'>[qties]</a>) as shown in Table <a href='#tab:lib.cats' title='Table 1: Library categories'>1</a><a class='hidden_link' href='#cats-1.sentence-1'>.</a></div></div><div class='texpara'><div class='numberedTable' id='tab:lib.cats'>Table <a href='#tab:lib.cats'>1</a>: Library categories&emsp;<a href='./tab:lib.cats.html'>[tab:lib.cats]</a><br><table ><tr id='tab:lib.cats-row-1' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:lib.cats-row-1'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-1-column-1-sentence-1' class='sentence'><b>Clause</b></div></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-1-column-2-sentence-1' class='sentence'><b>Category</b></div></div></td></tr><tr id='tab:lib.cats-row-2' class='capsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:lib.cats-row-2'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-2-column-1-sentence-1' class='sentence'><a href='qties.html' title='5&emsp;Quantities library'>[qties]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:lib.cats-row-2-column-2-sentence-1' class='sentence'>Quantities library</div></div></td></tr></table></div></div></div><div class='para' id='cats-2'><div class='marginalizedparent'><a class='marginalized' href='#cats-2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L108'>#</a></div><div class='texpara'><div id='cats-2.sentence-1' class='sentence'>The quantities library (<a href='qties.html' title='5&emsp;Quantities library'>[qties]</a>)
describes components for dealing with quantities<a class='hidden_link' href='#cats-2.sentence-1'>.</a></div></div></div></div><div id='mods' class='section'><h2 ><a class='secnum' href='#mods' style='min-width:65pt'>4.3</a> Modules <a class='abbr_ref' href='spec.mods.html'>[spec.mods]</a></h2><div class='para' id='mods-1'><div class='marginalizedparent'><a class='marginalized' href='#mods-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L114'>#</a></div><div class='texpara'><div id='mods-1.sentence-1' class='sentence'>The mp-units library provides the describes components for dealing with quantities<a class='hidden_link' href='#cats-2.sentence-1'>.</a></div></div></div></div><div id='mods' class='section'><h2 ><a class='secnum' href='#mods' style='min-width:65pt'>4.3</a> Modules <a class='abbr_ref' href='spec.mods.html'>[spec.mods]</a></h2><div class='para' id='mods-1'><div class='marginalizedparent'><a class='marginalized' href='#mods-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L114'>#</a></div><div class='texpara'><div id='mods-1.sentence-1' class='sentence'>The mp-units library provides the
<a class='hidden_link' href='#def:module,mp-units' title='4.3&emsp;Modules&emsp;[spec.mods]'><span id='def:module,mp-units'><i >mp-units modules</i></span></a>, <a class='hidden_link' href='#def:module,mp-units' title='4.3&emsp;Modules&emsp;[spec.mods]'><span id='def:module,mp-units'><i >mp-units modules</i></span></a>,
shown in Table <a href='#tab:modules' title='Table 2: mp-units modules'>2</a><a class='hidden_link' href='#mods-1.sentence-1'>.</a></div></div><div class='texpara'><div class='numberedTable' id='tab:modules'>Table <a href='#tab:modules'>2</a>: mp-units modules&emsp;<a href='./tab:modules.html'>[tab:modules]</a><br><table ><tr id='tab:modules-row-1'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:modules-row-1'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:modules-row-1-column-1-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units</span></div></div></td><td class='left'><div class='texpara'><div id='tab:modules-row-1-column-2-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units<span class='operator'>.</span>core</span></div></div></td><td class='left'><div class='texpara'><div id='tab:modules-row-1-column-3-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units<span class='operator'>.</span>systems</span></div></div></td></tr></table></div></div></div></div><div id='reqs' class='section'><h2 ><a class='secnum' href='#reqs' style='min-width:65pt'>4.4</a> Library-wide requirements <a class='abbr_ref' href='spec.reqs.html'>[spec.reqs]</a></h2><div id='res.names' class='section'><h3 ><a class='secnum' href='#res.names' style='min-width:80pt'>4.4.1</a> Reserved names <a class='abbr_ref' href='spec.res.names.html'>[spec.res.names]</a></h3><div class='para' id='res.names-1'><div class='marginalizedparent'><a class='marginalized' href='#res.names-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L132'>#</a></div><div class='texpara'><div id='res.names-1.sentence-1' class='sentence'>The mp-units library reserves macro names that start with shown in Table <a href='#tab:modules' title='Table 2: mp-units modules'>2</a><a class='hidden_link' href='#mods-1.sentence-1'>.</a></div></div><div class='texpara'><div class='numberedTable' id='tab:modules'>Table <a href='#tab:modules'>2</a>: mp-units modules&emsp;<a href='./tab:modules.html'>[tab:modules]</a><br><table ><tr id='tab:modules-row-1'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:modules-row-1'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:modules-row-1-column-1-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units</span></div></div></td><td class='left'><div class='texpara'><div id='tab:modules-row-1-column-2-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units<span class='operator'>.</span>core</span></div></div></td><td class='left'><div class='texpara'><div id='tab:modules-row-1-column-3-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units<span class='operator'>.</span>systems</span></div></div></td></tr></table></div></div></div></div><div id='reqs' class='section'><h2 ><a class='secnum' href='#reqs' style='min-width:65pt'>4.4</a> Library-wide requirements <a class='abbr_ref' href='spec.reqs.html'>[spec.reqs]</a></h2><div id='res.names' class='section'><h3 ><a class='secnum' href='#res.names' style='min-width:80pt'>4.4.1</a> Reserved names <a class='abbr_ref' href='spec.res.names.html'>[spec.res.names]</a></h3><div class='para' id='res.names-1'><div class='marginalizedparent'><a class='marginalized' href='#res.names-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L132'>#</a></div><div class='texpara'><div id='res.names-1.sentence-1' class='sentence'>The mp-units library reserves macro names that start with
<span class='texttt'>MP_<span class='shy'></span>UNITS<span class='textsf'><i >digit-sequence</i></span><span class="mjx-chtml"><span class="mjx-math"><span class="mjx-mrow" aria-hidden="true"><span class="mjx-msubsup"><span class="mjx-base"><span class="mjx-mi"><span class="mjx-char"></span></span></span><span class="mjx-sub" style="font-size: 70.7%; vertical-align: -0.212em; padding-right: 0.071em;"><span class="mjx-texatom"><span class="mjx-mrow"><span class="mjx-mstyle" style="font-size: 113.1%; color: black;"><span class="mjx-mrow" style="font-size: 88.4%;"><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.225em; padding-bottom: 0.298em;">o</span></span></span></span><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.225em; padding-bottom: 0.446em;">p</span></span><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.372em; padding-bottom: 0.298em;">t</span></span></span></span></span></span></span></span></span>_<span class='shy'></span></span><a class='hidden_link' href='#res.names-1.sentence-1'>.</a></div></div></div></div></div></div></body></html> <span class='texttt'>MP_<span class='shy'></span>UNITS<span class='textsf'><i >digit-sequence</i></span><span class="mjx-chtml"><span class="mjx-math"><span class="mjx-mrow" aria-hidden="true"><span class="mjx-msubsup"><span class="mjx-base"><span class="mjx-mi"><span class="mjx-char"></span></span></span><span class="mjx-sub" style="font-size: 70.7%; vertical-align: -0.212em; padding-right: 0.071em;"><span class="mjx-texatom"><span class="mjx-mrow"><span class="mjx-mstyle" style="font-size: 113.1%; color: black;"><span class="mjx-mrow" style="font-size: 88.4%;"><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.225em; padding-bottom: 0.298em;">o</span></span></span></span><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.225em; padding-bottom: 0.446em;">p</span></span><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.372em; padding-bottom: 0.298em;">t</span></span></span></span></span></span></span></span></span>_<span class='shy'></span></span><a class='hidden_link' href='#res.names-1.sentence-1'>.</a></div></div></div></div></div></div></body></html>

View File

@@ -1,3 +1,3 @@
<!DOCTYPE html><html lang='en'><head><title>[spec.mods]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='abbr_ref' href='index.html#spec'>[spec]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>4.3</a> Modules <a class='abbr_ref'>[spec.mods]</a></h2><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L114'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'>The mp-units library provides the <!DOCTYPE html><html lang='en'><head><title>[spec.mods]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='abbr_ref' href='index.html#spec'>[spec]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>4.3</a> Modules <a class='abbr_ref'>[spec.mods]</a></h2><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L114'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'>The mp-units library provides the
<a class='hidden_link' href='#def:module,mp-units' title='4.3&emsp;Modules&emsp;[spec.mods]'><span id='def:module,mp-units'><i >mp-units modules</i></span></a>, <a class='hidden_link' href='#def:module,mp-units' title='4.3&emsp;Modules&emsp;[spec.mods]'><span id='def:module,mp-units'><i >mp-units modules</i></span></a>,
shown in Table <a href='#tab:modules' title='Table 2: mp-units modules'>2</a><a class='hidden_link' href='#1.sentence-1'>.</a></div></div><div class='texpara'><div class='numberedTable' id='tab:modules'>Table <a href='#tab:modules'>2</a>: mp-units modules&emsp;<a href='./tab:modules.html'>[tab:modules]</a><br><table ><tr id='tab:modules-row-1'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:modules-row-1'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:modules-row-1-column-1-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units</span></div></div></td><td class='left'><div class='texpara'><div id='tab:modules-row-1-column-2-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units<span class='operator'>.</span>core</span></div></div></td><td class='left'><div class='texpara'><div id='tab:modules-row-1-column-3-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units<span class='operator'>.</span>systems</span></div></div></td></tr></table></div></div></div></div></body></html> shown in Table <a href='#tab:modules' title='Table 2: mp-units modules'>2</a><a class='hidden_link' href='#1.sentence-1'>.</a></div></div><div class='texpara'><div class='numberedTable' id='tab:modules'>Table <a href='#tab:modules'>2</a>: mp-units modules&emsp;<a href='./tab:modules.html'>[tab:modules]</a><br><table ><tr id='tab:modules-row-1'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:modules-row-1'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:modules-row-1-column-1-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units</span></div></div></td><td class='left'><div class='texpara'><div id='tab:modules-row-1-column-2-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units<span class='operator'>.</span>core</span></div></div></td><td class='left'><div class='texpara'><div id='tab:modules-row-1-column-3-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units<span class='operator'>.</span>systems</span></div></div></td></tr></table></div></div></div></div></body></html>

View File

@@ -1,2 +1,2 @@
<!DOCTYPE html><html lang='en'><head><title>[spec.reqs]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='abbr_ref' href='index.html#spec'>[spec]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>4.4</a> Library-wide requirements <a class='abbr_ref'>[spec.reqs]</a></h2><div id='spec.res.names' class='section'><h3 ><a class='secnum' href='#spec.res.names' style='min-width:80pt'>4.4.1</a> Reserved names <a class='abbr_ref' href='spec.res.names.html'>[spec.res.names]</a></h3><div class='para' id='spec.res.names-1'><div class='marginalizedparent'><a class='marginalized' href='#spec.res.names-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L132'>#</a></div><div class='texpara'><div id='spec.res.names-1.sentence-1' class='sentence'>The mp-units library reserves macro names that start with <!DOCTYPE html><html lang='en'><head><title>[spec.reqs]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='abbr_ref' href='index.html#spec'>[spec]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>4.4</a> Library-wide requirements <a class='abbr_ref'>[spec.reqs]</a></h2><div id='spec.res.names' class='section'><h3 ><a class='secnum' href='#spec.res.names' style='min-width:80pt'>4.4.1</a> Reserved names <a class='abbr_ref' href='spec.res.names.html'>[spec.res.names]</a></h3><div class='para' id='spec.res.names-1'><div class='marginalizedparent'><a class='marginalized' href='#spec.res.names-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L132'>#</a></div><div class='texpara'><div id='spec.res.names-1.sentence-1' class='sentence'>The mp-units library reserves macro names that start with
<span class='texttt'>MP_<span class='shy'></span>UNITS<span class='textsf'><i >digit-sequence</i></span><span class="mjx-chtml"><span class="mjx-math"><span class="mjx-mrow" aria-hidden="true"><span class="mjx-msubsup"><span class="mjx-base"><span class="mjx-mi"><span class="mjx-char"></span></span></span><span class="mjx-sub" style="font-size: 70.7%; vertical-align: -0.212em; padding-right: 0.071em;"><span class="mjx-texatom"><span class="mjx-mrow"><span class="mjx-mstyle" style="font-size: 113.1%; color: black;"><span class="mjx-mrow" style="font-size: 88.4%;"><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.225em; padding-bottom: 0.298em;">o</span></span></span></span><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.225em; padding-bottom: 0.446em;">p</span></span><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.372em; padding-bottom: 0.298em;">t</span></span></span></span></span></span></span></span></span>_<span class='shy'></span></span><a class='hidden_link' href='#spec.res.names-1.sentence-1'>.</a></div></div></div></div></div></body></html> <span class='texttt'>MP_<span class='shy'></span>UNITS<span class='textsf'><i >digit-sequence</i></span><span class="mjx-chtml"><span class="mjx-math"><span class="mjx-mrow" aria-hidden="true"><span class="mjx-msubsup"><span class="mjx-base"><span class="mjx-mi"><span class="mjx-char"></span></span></span><span class="mjx-sub" style="font-size: 70.7%; vertical-align: -0.212em; padding-right: 0.071em;"><span class="mjx-texatom"><span class="mjx-mrow"><span class="mjx-mstyle" style="font-size: 113.1%; color: black;"><span class="mjx-mrow" style="font-size: 88.4%;"><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.225em; padding-bottom: 0.298em;">o</span></span></span></span><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.225em; padding-bottom: 0.446em;">p</span></span><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.372em; padding-bottom: 0.298em;">t</span></span></span></span></span></span></span></span></span>_<span class='shy'></span></span><a class='hidden_link' href='#spec.res.names-1.sentence-1'>.</a></div></div></div></div></div></body></html>

View File

@@ -1,2 +1,2 @@
<!DOCTYPE html><html lang='en'><head><title>[spec.res.names]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='abbr_ref' href='index.html#spec'>[spec]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>4.4</a> Library-wide requirements <a class='abbr_ref' href='spec.reqs.html#spec.res.names'>[spec.reqs]</a></h2><h3 ><a class='secnum' style='min-width:80pt'>4.4.1</a> Reserved names <a class='abbr_ref'>[spec.res.names]</a></h3><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/intro.tex#L132'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'>The mp-units library reserves macro names that start with <!DOCTYPE html><html lang='en'><head><title>[spec.res.names]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Serif'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans'/><link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css2?family=Noto+Sans+Mono'/><link rel='icon' href='icon.png'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Normal'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='normative-only.css' title='Notes and examples hidden'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='abbr_ref' href='index.html#spec'>[spec]</a></h1><h2 ><a class='secnum' style='min-width:65pt'>4.4</a> Library-wide requirements <a class='abbr_ref' href='spec.reqs.html#spec.res.names'>[spec.reqs]</a></h2><h3 ><a class='secnum' style='min-width:80pt'>4.4.1</a> Reserved names <a class='abbr_ref'>[spec.res.names]</a></h3><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units5097096915e1b94419447621958d0bc79fc4afbb/source/intro.tex#L132'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'>The mp-units library reserves macro names that start with
<span class='texttt'>MP_<span class='shy'></span>UNITS<span class='textsf'><i >digit-sequence</i></span><span class="mjx-chtml"><span class="mjx-math"><span class="mjx-mrow" aria-hidden="true"><span class="mjx-msubsup"><span class="mjx-base"><span class="mjx-mi"><span class="mjx-char"></span></span></span><span class="mjx-sub" style="font-size: 70.7%; vertical-align: -0.212em; padding-right: 0.071em;"><span class="mjx-texatom"><span class="mjx-mrow"><span class="mjx-mstyle" style="font-size: 113.1%; color: black;"><span class="mjx-mrow" style="font-size: 88.4%;"><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.225em; padding-bottom: 0.298em;">o</span></span></span></span><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.225em; padding-bottom: 0.446em;">p</span></span><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.372em; padding-bottom: 0.298em;">t</span></span></span></span></span></span></span></span></span>_<span class='shy'></span></span><a class='hidden_link' href='#1.sentence-1'>.</a></div></div></div></div></body></html> <span class='texttt'>MP_<span class='shy'></span>UNITS<span class='textsf'><i >digit-sequence</i></span><span class="mjx-chtml"><span class="mjx-math"><span class="mjx-mrow" aria-hidden="true"><span class="mjx-msubsup"><span class="mjx-base"><span class="mjx-mi"><span class="mjx-char"></span></span></span><span class="mjx-sub" style="font-size: 70.7%; vertical-align: -0.212em; padding-right: 0.071em;"><span class="mjx-texatom"><span class="mjx-mrow"><span class="mjx-mstyle" style="font-size: 113.1%; color: black;"><span class="mjx-mrow" style="font-size: 88.4%;"><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.225em; padding-bottom: 0.298em;">o</span></span></span></span><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.225em; padding-bottom: 0.446em;">p</span></span><span class="mjx-mi"><span class="mjx-char MJXc-TeX-main-I" style="padding-top: 0.372em; padding-bottom: 0.298em;">t</span></span></span></span></span></span></span></span></span>_<span class='shy'></span></span><a class='hidden_link' href='#1.sentence-1'>.</a></div></div></div></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -2,262 +2,262 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/api_reference/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/api_reference/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/release_notes/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/release_notes/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/appendix/glossary/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/appendix/glossary/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/appendix/references/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/appendix/references/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/2023/09/24/whats-new-in-mp-units-20/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/2023/09/24/whats-new-in-mp-units-20/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/2023/12/09/mp-units-210-released/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/2023/12/09/mp-units-210-released/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/06/14/mp-units-220-released/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/06/14/mp-units-220-released/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/09/27/mp-units-230-released/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/09/27/mp-units-230-released/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/11/05/mp-units-240-released/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/11/05/mp-units-240-released/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/10/07/international-system-of-quantities-isq-part-1---introduction/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/10/07/international-system-of-quantities-isq-part-1---introduction/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/10/14/international-system-of-quantities-isq-part-2---problems-when-isq-is-not-used/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/10/14/international-system-of-quantities-isq-part-2---problems-when-isq-is-not-used/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/10/21/international-system-of-quantities-isq-part-3---modeling-isq/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/10/21/international-system-of-quantities-isq-part-3---modeling-isq/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/10/28/international-system-of-quantities-isq-part-4---implementing-isq/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/10/28/international-system-of-quantities-isq-part-4---implementing-isq/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/2023/11/12/report-from-the-kona-2023-iso-c-committee-meeting/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/2023/11/12/report-from-the-kona-2023-iso-c-committee-meeting/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/07/02/report-from-the-st-louis-2024-iso-c-committee-meeting/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/07/02/report-from-the-st-louis-2024-iso-c-committee-meeting/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/04/15/report-from-the-tokyo-2024-iso-c-committee-meeting/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/2024/04/15/report-from-the-tokyo-2024-iso-c-committee-meeting/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/getting_started/contributing/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/getting_started/contributing/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/getting_started/cpp_compiler_support/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/getting_started/cpp_compiler_support/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/getting_started/faq/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/getting_started/faq/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/getting_started/installation_and_usage/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/getting_started/installation_and_usage/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/getting_started/introduction/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/getting_started/introduction/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/getting_started/look_and_feel/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/getting_started/look_and_feel/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/getting_started/project_structure/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/getting_started/project_structure/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/getting_started/quick_start/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/getting_started/quick_start/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/terms_and_definitions/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/terms_and_definitions/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/examples/avg_speed/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/examples/avg_speed/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/examples/hello_units/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/examples/hello_units/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/examples/hw_voltage/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/examples/hw_voltage/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/examples/si_constants/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/examples/si_constants/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/character_of_a_quantity/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/character_of_a_quantity/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/concepts/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/concepts/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/design_overview/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/design_overview/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/dimensionless_quantities/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/dimensionless_quantities/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/faster_than_lightspeed_constants/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/faster_than_lightspeed_constants/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/generic_interfaces/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/generic_interfaces/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/interface_introduction/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/interface_introduction/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/obtaining_metadata/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/obtaining_metadata/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/quantity_arithmetics/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/quantity_arithmetics/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/simple_and_typed_quantities/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/simple_and_typed_quantities/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/systems_of_quantities/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/systems_of_quantities/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/systems_of_units/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/systems_of_units/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/text_output/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/text_output/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/the_affine_space/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/the_affine_space/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/value_conversions/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/framework_basics/value_conversions/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/systems/introduction/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/systems/introduction/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/systems/isq/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/systems/isq/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/systems/natural_units/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/systems/natural_units/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/systems/si/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/systems/si/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/systems/strong_angular_system/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/systems/strong_angular_system/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/use_cases/extending_the_library/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/use_cases/extending_the_library/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/use_cases/interoperability_with_other_libraries/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/use_cases/interoperability_with_other_libraries/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/use_cases/pure_dimensional_analysis/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/use_cases/pure_dimensional_analysis/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/use_cases/using_custom_representation_types/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/use_cases/using_custom_representation_types/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/use_cases/wide_compatibility/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/use_cases/wide_compatibility/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/use_cases/working_with_legacy_interfaces/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/use_cases/working_with_legacy_interfaces/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/archive/2024/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/archive/2024/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/archive/2023/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/archive/2023/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/category/releases/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/category/releases/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/category/metrology/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/category/metrology/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/category/wg21-updates/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/category/wg21-updates/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/blog/page/2/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/blog/page/2/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
<url> <url>
<loc>https://mpusz.github.io/mp-units/HEAD/users_guide/examples/tags_index/</loc> <loc>https://mpusz.github.io/mp-units/HEAD/users_guide/examples/tags_index/</loc>
<lastmod>2024-11-06</lastmod> <lastmod>2024-11-07</lastmod>
</url> </url>
</urlset> </urlset>

Binary file not shown.

View File

@@ -2479,7 +2479,7 @@ character override is needed):</p>
<h2 id="representation-types-for-vector-and-tensor-quantities">Representation types for vector and tensor quantities<a class="headerlink" href="#representation-types-for-vector-and-tensor-quantities" title="Permanent link">&para;</a></h2> <h2 id="representation-types-for-vector-and-tensor-quantities">Representation types for vector and tensor quantities<a class="headerlink" href="#representation-types-for-vector-and-tensor-quantities" title="Permanent link">&para;</a></h2>
<p>As we remember, the <code>quantity</code> class template is defined as follows:</p> <p>As we remember, the <code>quantity</code> class template is defined as follows:</p>
<div class="language-cpp highlight"><pre><span></span><code><span id="__span-6-1"><a id="__codelineno-6-1" name="__codelineno-6-1" href="#__codelineno-6-1"></a><span class="k">template</span><span class="o">&lt;</span><span class="n">Reference</span><span class="w"> </span><span class="k">auto</span><span class="w"> </span><span class="n">R</span><span class="p">,</span> <div class="language-cpp highlight"><pre><span></span><code><span id="__span-6-1"><a id="__codelineno-6-1" name="__codelineno-6-1" href="#__codelineno-6-1"></a><span class="k">template</span><span class="o">&lt;</span><span class="n">Reference</span><span class="w"> </span><span class="k">auto</span><span class="w"> </span><span class="n">R</span><span class="p">,</span>
</span><span id="__span-6-2"><a id="__codelineno-6-2" name="__codelineno-6-2" href="#__codelineno-6-2"></a><span class="w"> </span><span class="n">RepresentationOf</span><span class="o">&lt;</span><span class="n">get_quantity_spec</span><span class="p">(</span><span class="n">R</span><span class="p">).</span><span class="n">character</span><span class="o">&gt;</span><span class="w"> </span><span class="n">Rep</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kt">double</span><span class="o">&gt;</span> </span><span id="__span-6-2"><a id="__codelineno-6-2" name="__codelineno-6-2" href="#__codelineno-6-2"></a><span class="w"> </span><span class="n">RepresentationOf</span><span class="o">&lt;</span><span class="n">get_quantity_spec</span><span class="p">(</span><span class="n">R</span><span class="p">)</span><span class="o">&gt;</span><span class="w"> </span><span class="n">Rep</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kt">double</span><span class="o">&gt;</span>
</span><span id="__span-6-3"><a id="__codelineno-6-3" name="__codelineno-6-3" href="#__codelineno-6-3"></a><span class="k">class</span><span class="w"> </span><span class="nc">quantity</span><span class="p">;</span> </span><span id="__span-6-3"><a id="__codelineno-6-3" name="__codelineno-6-3" href="#__codelineno-6-3"></a><span class="k">class</span><span class="w"> </span><span class="nc">quantity</span><span class="p">;</span>
</span></code></pre></div> </span></code></pre></div>
<p>The second template parameter is constrained with a <a href="../concepts/#RepresentationOf"><code>RepresentationOf</code></a> <p>The second template parameter is constrained with a <a href="../concepts/#RepresentationOf"><code>RepresentationOf</code></a>

View File

@@ -1289,7 +1289,7 @@ You're not viewing the latest version.
<li class="md-nav__item"> <li class="md-nav__item">
<a href="#RepresentationOf" class="md-nav__link"> <a href="#RepresentationOf" class="md-nav__link">
<span class="md-ellipsis"> <span class="md-ellipsis">
RepresentationOf&lt;T, Ch&gt; RepresentationOf&lt;T, V&gt;
</span> </span>
</a> </a>
@@ -2571,13 +2571,32 @@ A <code>Reference</code> can either be:</p>
<h2 id="Representation"><code>Representation&lt;T&gt;</code><a class="headerlink" href="#Representation" title="Permanent link">&para;</a></h2> <h2 id="Representation"><code>Representation&lt;T&gt;</code><a class="headerlink" href="#Representation" title="Permanent link">&para;</a></h2>
<p><code>Representation</code> concept constraints a type of a number that stores the <p><code>Representation</code> concept constraints a type of a number that stores the
<a href="../../../appendix/glossary/#quantity-value">value of a quantity</a>.</p> <a href="../../../appendix/glossary/#quantity-value">value of a quantity</a>.</p>
<h3 id="RepresentationOf"><code>RepresentationOf&lt;T, Ch&gt;</code><a class="headerlink" href="#RepresentationOf" title="Permanent link">&para;</a></h3> <h3 id="RepresentationOf"><code>RepresentationOf&lt;T, V&gt;</code><a class="headerlink" href="#RepresentationOf" title="Permanent link">&para;</a></h3>
<p><code>RepresentationOf</code> concept is satisfied by all <code>Representation</code> types that are of a specified <p><code>RepresentationOf</code> concept is satisfied:</p>
<a href="../../../appendix/glossary/#character">quantity character</a> <code>Ch</code>.</p> <ul>
<li>
<p>if the type of <code>V</code> satisfies <a href="#QuantitySpec"><code>QuantitySpec</code></a>:</p>
<ul>
<li>by all <a href="#Representation"><code>Representation</code></a> types when <code>V</code> describes
a <a href="../../../appendix/glossary/#kind">quantity kind</a>,</li>
<li>otherwise, by <a href="#Representation"><code>Representation</code></a> types that are of
a <a href="../../../appendix/glossary/#character">quantity character</a> associated with a provided
quantity specification <code>V</code>.</li>
</ul>
</li>
<li>
<p>if <code>V</code> is of <code>quantity_character</code> type:</p>
<ul>
<li>by <a href="#Representation"><code>Representation</code></a> types that are of a provided
<a href="../../../appendix/glossary/#character">quantity character</a>.</li>
</ul>
</li>
</ul>
<p>A user can declare a custom representation type to be of a specific character by providing the specialization <p>A user can declare a custom representation type to be of a specific character by providing the specialization
with <code>true</code> for one or more of the following variable templates:</p> with <code>true</code> for one or more of the following variable templates:</p>
<ul> <ul>
<li><code>is_scalar&lt;T&gt;</code></li> <li><code>is_scalar&lt;T&gt;</code></li>
<li><code>is_complex&lt;T&gt;</code></li>
<li><code>is_vector&lt;T&gt;</code></li> <li><code>is_vector&lt;T&gt;</code></li>
<li><code>is_tensor&lt;T&gt;</code></li> <li><code>is_tensor&lt;T&gt;</code></li>
</ul> </ul>

View File

@@ -2570,7 +2570,7 @@ that can be expressed as a <strong><em>number</em></strong> and a <strong><em>re
</div> </div>
<p>This is why a <code>quantity</code> class template is defined in the library as:</p> <p>This is why a <code>quantity</code> class template is defined in the library as:</p>
<div class="language-cpp highlight"><pre><span></span><code><span id="__span-10-1"><a id="__codelineno-10-1" name="__codelineno-10-1" href="#__codelineno-10-1"></a><span class="k">template</span><span class="o">&lt;</span><span class="n">Reference</span><span class="w"> </span><span class="k">auto</span><span class="w"> </span><span class="n">R</span><span class="p">,</span> <div class="language-cpp highlight"><pre><span></span><code><span id="__span-10-1"><a id="__codelineno-10-1" name="__codelineno-10-1" href="#__codelineno-10-1"></a><span class="k">template</span><span class="o">&lt;</span><span class="n">Reference</span><span class="w"> </span><span class="k">auto</span><span class="w"> </span><span class="n">R</span><span class="p">,</span>
</span><span id="__span-10-2"><a id="__codelineno-10-2" name="__codelineno-10-2" href="#__codelineno-10-2"></a><span class="w"> </span><span class="n">RepresentationOf</span><span class="o">&lt;</span><span class="n">get_quantity_spec</span><span class="p">(</span><span class="n">R</span><span class="p">).</span><span class="n">character</span><span class="o">&gt;</span><span class="w"> </span><span class="n">Rep</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kt">double</span><span class="o">&gt;</span> </span><span id="__span-10-2"><a id="__codelineno-10-2" name="__codelineno-10-2" href="#__codelineno-10-2"></a><span class="w"> </span><span class="n">RepresentationOf</span><span class="o">&lt;</span><span class="n">get_quantity_spec</span><span class="p">(</span><span class="n">R</span><span class="p">)</span><span class="o">&gt;</span><span class="w"> </span><span class="n">Rep</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kt">double</span><span class="o">&gt;</span>
</span><span id="__span-10-3"><a id="__codelineno-10-3" name="__codelineno-10-3" href="#__codelineno-10-3"></a><span class="k">class</span><span class="w"> </span><span class="nc">quantity</span><span class="p">;</span> </span><span id="__span-10-3"><a id="__codelineno-10-3" name="__codelineno-10-3" href="#__codelineno-10-3"></a><span class="k">class</span><span class="w"> </span><span class="nc">quantity</span><span class="p">;</span>
</span></code></pre></div> </span></code></pre></div>
<p>Its value can be easily created by multiplying/dividing the <a href="#quantity-representation">numerical value</a> <p>Its value can be easily created by multiplying/dividing the <a href="#quantity-representation">numerical value</a>
@@ -2606,7 +2606,7 @@ measurement's scale is.</p>
<p>In the <strong>mp-units</strong> library, the quantity point is implemented as:</p> <p>In the <strong>mp-units</strong> library, the quantity point is implemented as:</p>
<div class="language-cpp highlight"><pre><span></span><code><span id="__span-13-1"><a id="__codelineno-13-1" name="__codelineno-13-1" href="#__codelineno-13-1"></a><span class="k">template</span><span class="o">&lt;</span><span class="n">Reference</span><span class="w"> </span><span class="k">auto</span><span class="w"> </span><span class="n">R</span><span class="p">,</span> <div class="language-cpp highlight"><pre><span></span><code><span id="__span-13-1"><a id="__codelineno-13-1" name="__codelineno-13-1" href="#__codelineno-13-1"></a><span class="k">template</span><span class="o">&lt;</span><span class="n">Reference</span><span class="w"> </span><span class="k">auto</span><span class="w"> </span><span class="n">R</span><span class="p">,</span>
</span><span id="__span-13-2"><a id="__codelineno-13-2" name="__codelineno-13-2" href="#__codelineno-13-2"></a><span class="w"> </span><span class="n">PointOriginFor</span><span class="o">&lt;</span><span class="n">get_quantity_spec</span><span class="p">(</span><span class="n">R</span><span class="p">)</span><span class="o">&gt;</span><span class="w"> </span><span class="k">auto</span><span class="w"> </span><span class="n">PO</span><span class="p">,</span> </span><span id="__span-13-2"><a id="__codelineno-13-2" name="__codelineno-13-2" href="#__codelineno-13-2"></a><span class="w"> </span><span class="n">PointOriginFor</span><span class="o">&lt;</span><span class="n">get_quantity_spec</span><span class="p">(</span><span class="n">R</span><span class="p">)</span><span class="o">&gt;</span><span class="w"> </span><span class="k">auto</span><span class="w"> </span><span class="n">PO</span><span class="p">,</span>
</span><span id="__span-13-3"><a id="__codelineno-13-3" name="__codelineno-13-3" href="#__codelineno-13-3"></a><span class="w"> </span><span class="n">RepresentationOf</span><span class="o">&lt;</span><span class="n">get_quantity_spec</span><span class="p">(</span><span class="n">R</span><span class="p">).</span><span class="n">character</span><span class="o">&gt;</span><span class="w"> </span><span class="n">Rep</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kt">double</span><span class="o">&gt;</span> </span><span id="__span-13-3"><a id="__codelineno-13-3" name="__codelineno-13-3" href="#__codelineno-13-3"></a><span class="w"> </span><span class="n">RepresentationOf</span><span class="o">&lt;</span><span class="n">get_quantity_spec</span><span class="p">(</span><span class="n">R</span><span class="p">)</span><span class="o">&gt;</span><span class="w"> </span><span class="n">Rep</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kt">double</span><span class="o">&gt;</span>
</span><span id="__span-13-4"><a id="__codelineno-13-4" name="__codelineno-13-4" href="#__codelineno-13-4"></a><span class="k">class</span><span class="w"> </span><span class="nc">quantity_point</span><span class="p">;</span> </span><span id="__span-13-4"><a id="__codelineno-13-4" name="__codelineno-13-4" href="#__codelineno-13-4"></a><span class="k">class</span><span class="w"> </span><span class="nc">quantity_point</span><span class="p">;</span>
</span></code></pre></div> </span></code></pre></div>
<p>Its value can be easily created by adding/subtracting the <a href="#quantity">quantity</a> with <p>Its value can be easily created by adding/subtracting the <a href="#quantity">quantity</a> with

View File

@@ -2320,7 +2320,7 @@ or a combination of such.</p>
<h2 id="quantity-class-template"><code>quantity</code> class template<a class="headerlink" href="#quantity-class-template" title="Permanent link">&para;</a></h2> <h2 id="quantity-class-template"><code>quantity</code> class template<a class="headerlink" href="#quantity-class-template" title="Permanent link">&para;</a></h2>
<p>In the <strong>mp-units</strong> library, a quantity is represented with the following class template:</p> <p>In the <strong>mp-units</strong> library, a quantity is represented with the following class template:</p>
<div class="language-cpp highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="k">template</span><span class="o">&lt;</span><span class="n">Reference</span><span class="w"> </span><span class="k">auto</span><span class="w"> </span><span class="n">R</span><span class="p">,</span> <div class="language-cpp highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="k">template</span><span class="o">&lt;</span><span class="n">Reference</span><span class="w"> </span><span class="k">auto</span><span class="w"> </span><span class="n">R</span><span class="p">,</span>
</span><span id="__span-0-2"><a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="w"> </span><span class="n">RepresentationOf</span><span class="o">&lt;</span><span class="n">get_quantity_spec</span><span class="p">(</span><span class="n">R</span><span class="p">).</span><span class="n">character</span><span class="o">&gt;</span><span class="w"> </span><span class="n">Rep</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kt">double</span><span class="o">&gt;</span> </span><span id="__span-0-2"><a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="w"> </span><span class="n">RepresentationOf</span><span class="o">&lt;</span><span class="n">get_quantity_spec</span><span class="p">(</span><span class="n">R</span><span class="p">)</span><span class="o">&gt;</span><span class="w"> </span><span class="n">Rep</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kt">double</span><span class="o">&gt;</span>
</span><span id="__span-0-3"><a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a><span class="k">class</span><span class="w"> </span><span class="nc">quantity</span><span class="p">;</span> </span><span id="__span-0-3"><a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a><span class="k">class</span><span class="w"> </span><span class="nc">quantity</span><span class="p">;</span>
</span></code></pre></div> </span></code></pre></div>
<p>The concept <code>Reference</code> is satisfied by a type that provides all the domain-specific metadata describing <p>The concept <code>Reference</code> is satisfied by a type that provides all the domain-specific metadata describing

View File

@@ -2439,7 +2439,7 @@ definition (i.e., units of temperature like <code>K</code>, <code>deg_C</code>,
origin:</p> origin:</p>
<div class="language-cpp highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="k">template</span><span class="o">&lt;</span><span class="n">Reference</span><span class="w"> </span><span class="k">auto</span><span class="w"> </span><span class="n">R</span><span class="p">,</span> <div class="language-cpp highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="k">template</span><span class="o">&lt;</span><span class="n">Reference</span><span class="w"> </span><span class="k">auto</span><span class="w"> </span><span class="n">R</span><span class="p">,</span>
</span><span id="__span-0-2"><a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="w"> </span><span class="n">PointOriginFor</span><span class="o">&lt;</span><span class="n">get_quantity_spec</span><span class="p">(</span><span class="n">R</span><span class="p">)</span><span class="o">&gt;</span><span class="w"> </span><span class="k">auto</span><span class="w"> </span><span class="n">PO</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">default_point_origin</span><span class="p">(</span><span class="n">R</span><span class="p">),</span> </span><span id="__span-0-2"><a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="w"> </span><span class="n">PointOriginFor</span><span class="o">&lt;</span><span class="n">get_quantity_spec</span><span class="p">(</span><span class="n">R</span><span class="p">)</span><span class="o">&gt;</span><span class="w"> </span><span class="k">auto</span><span class="w"> </span><span class="n">PO</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">default_point_origin</span><span class="p">(</span><span class="n">R</span><span class="p">),</span>
</span><span id="__span-0-3"><a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a><span class="w"> </span><span class="n">RepresentationOf</span><span class="o">&lt;</span><span class="n">get_quantity_spec</span><span class="p">(</span><span class="n">R</span><span class="p">).</span><span class="n">character</span><span class="o">&gt;</span><span class="w"> </span><span class="n">Rep</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kt">double</span><span class="o">&gt;</span> </span><span id="__span-0-3"><a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a><span class="w"> </span><span class="n">RepresentationOf</span><span class="o">&lt;</span><span class="n">get_quantity_spec</span><span class="p">(</span><span class="n">R</span><span class="p">)</span><span class="o">&gt;</span><span class="w"> </span><span class="n">Rep</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kt">double</span><span class="o">&gt;</span>
</span><span id="__span-0-4"><a id="__codelineno-0-4" name="__codelineno-0-4" href="#__codelineno-0-4"></a><span class="k">class</span><span class="w"> </span><span class="nc">quantity_point</span><span class="p">;</span> </span><span id="__span-0-4"><a id="__codelineno-0-4" name="__codelineno-0-4" href="#__codelineno-0-4"></a><span class="k">class</span><span class="w"> </span><span class="nc">quantity_point</span><span class="p">;</span>
</span></code></pre></div> </span></code></pre></div>
<p>As we can see above, the <code>quantity_point</code> class template exposes one additional parameter compared <p>As we can see above, the <code>quantity_point</code> class template exposes one additional parameter compared