Deployed 315e47c2 to HEAD with MkDocs 1.6.1 and mike 2.1.3
This commit is contained in:
1 parent
232afc81fb
commit
5092f01adb
28 files changed
+132
-132
No files matched your search
@@ -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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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-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,
|
||||||
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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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-units315e47c2573226a4fea735c0514806595d94ed6d/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>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang='en'><head><title>14882</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'><div id='scope' class='section'><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'><div class='marginalizedparent'><a class='marginalized' href='scope.html#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/intro.tex#L6'>#</a></div><div class='texpara'><div id='scope-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 Scope [scope]'><span id='def:mp-units_library'><i >mp-units library</i></span></a><a class='hidden_link' href='#scope-1.sentence-1'>.</a></div> </div></div></div><div id='refs' class='section'><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'><div class='marginalizedparent'><a class='marginalized' href='refs.html#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/intro.tex#L14'>#</a></div><div class='texpara'><div id='refs-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>14882</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'><div id='scope' class='section'><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'><div class='marginalizedparent'><a class='marginalized' href='scope.html#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='scope-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 Scope [scope]'><span id='def:mp-units_library'><i >mp-units library</i></span></a><a class='hidden_link' href='#scope-1.sentence-1'>.</a></div> </div></div></div><div id='refs' class='section'><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'><div class='marginalizedparent'><a class='marginalized' href='refs.html#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='refs-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='#refs-1.sentence-1'>.</a></div> <div id='refs-1.sentence-2' class='sentence'>For dated references, only the edition cited applies<a class='hidden_link' href='#refs-1.sentence-2'>.</a></div> <div id='refs-1.sentence-3' class='sentence'>For undated references,
|
constitutes requirements of this document<a class='hidden_link' href='#refs-1.sentence-1'>.</a></div> <div id='refs-1.sentence-2' class='sentence'>For dated references, only the edition cited applies<a class='hidden_link' href='#refs-1.sentence-2'>.</a></div> <div id='refs-1.sentence-3' class='sentence'>For undated references,
|
||||||
the latest edition of the referenced document
|
the latest edition of the referenced document
|
||||||
@@ -6,29 +6,29 @@ the latest edition of the referenced document
|
|||||||
<i >Amendment 3 — International Electrotechnical Vocabulary (IEV) —
|
<i >Amendment 3 — International Electrotechnical Vocabulary (IEV) —
|
||||||
Part 102: Mathematics — General concepts and linear algebra</i></div></div></li><li id='refs-1.2'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#refs-1.2'>(1.2)</a></div><div class='texpara'><div id='refs-1.2.sentence-1' class='sentence'>IEC 60050-112:2010/AMD2:2020,
|
Part 102: Mathematics — General concepts and linear algebra</i></div></div></li><li id='refs-1.2'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#refs-1.2'>(1.2)</a></div><div class='texpara'><div id='refs-1.2.sentence-1' class='sentence'>IEC 60050-112:2010/AMD2:2020,
|
||||||
<i >Amendment 2 — International Electrotechnical Vocabulary (IEV) —
|
<i >Amendment 2 — International Electrotechnical Vocabulary (IEV) —
|
||||||
Part 112: Quantities and units</i></div></div></li><li id='refs-1.3'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#refs-1.3'>(1.3)</a></div><div class='texpara'><div id='refs-1.3.sentence-1' class='sentence'>ISO 80000 (all parts), <i >Quantities and units</i></div></div></li><li id='refs-1.4'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#refs-1.4'>(1.4)</a></div><div class='texpara'><div id='refs-1.4.sentence-1' class='sentence'>The C++ Standards Committee<a class='hidden_link' href='#refs-1.4.sentence-1'>.</a></div> <div id='refs-1.4.sentence-2' class='sentence'>N4971: <i >Working Draft, Standard for Programming Language C++</i><a class='hidden_link' href='#refs-1.4.sentence-2'>.</a></div> <div id='refs-1.4.sentence-3' class='sentence'>Edited by Thomas Köppe<a class='hidden_link' href='#refs-1.4.sentence-3'>.</a></div> <div id='refs-1.4.sentence-4' class='sentence'>Available from: <a href='https://wg21.link/N4971'>https://wg21.link/N4971</a></div></div></li><li id='refs-1.5'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#refs-1.5'>(1.5)</a></div><div class='texpara'><div id='refs-1.5.sentence-1' class='sentence'>The C++ Standards Committee<a class='hidden_link' href='#refs-1.5.sentence-1'>.</a></div> <div id='refs-1.5.sentence-2' class='sentence'>SD-8: <i >Standard Library Compatibility</i><a class='hidden_link' href='#refs-1.5.sentence-2'>.</a></div> <div id='refs-1.5.sentence-3' class='sentence'>Edited by Bryce Lelbach<a class='hidden_link' href='#refs-1.5.sentence-3'>.</a></div> <div id='refs-1.5.sentence-4' class='sentence'>Available from: <a href='https://wg21.link/SD8'>https://wg21.link/SD8</a></div></div></li></ul> </div></div></div><div id='defs' class='section'><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'><div class='marginalizedparent'><a class='marginalized' href='defs.html#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/intro.tex#L50'>#</a></div><div class='texpara'><div id='defs-1.sentence-1' class='sentence'><a class='index' id=':definitions'></a>For the purposes of this document,
|
Part 112: Quantities and units</i></div></div></li><li id='refs-1.3'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#refs-1.3'>(1.3)</a></div><div class='texpara'><div id='refs-1.3.sentence-1' class='sentence'>ISO 80000 (all parts), <i >Quantities and units</i></div></div></li><li id='refs-1.4'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#refs-1.4'>(1.4)</a></div><div class='texpara'><div id='refs-1.4.sentence-1' class='sentence'>The C++ Standards Committee<a class='hidden_link' href='#refs-1.4.sentence-1'>.</a></div> <div id='refs-1.4.sentence-2' class='sentence'>N4971: <i >Working Draft, Standard for Programming Language C++</i><a class='hidden_link' href='#refs-1.4.sentence-2'>.</a></div> <div id='refs-1.4.sentence-3' class='sentence'>Edited by Thomas Köppe<a class='hidden_link' href='#refs-1.4.sentence-3'>.</a></div> <div id='refs-1.4.sentence-4' class='sentence'>Available from: <a href='https://wg21.link/N4971'>https://wg21.link/N4971</a></div></div></li><li id='refs-1.5'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#refs-1.5'>(1.5)</a></div><div class='texpara'><div id='refs-1.5.sentence-1' class='sentence'>The C++ Standards Committee<a class='hidden_link' href='#refs-1.5.sentence-1'>.</a></div> <div id='refs-1.5.sentence-2' class='sentence'>SD-8: <i >Standard Library Compatibility</i><a class='hidden_link' href='#refs-1.5.sentence-2'>.</a></div> <div id='refs-1.5.sentence-3' class='sentence'>Edited by Bryce Lelbach<a class='hidden_link' href='#refs-1.5.sentence-3'>.</a></div> <div id='refs-1.5.sentence-4' class='sentence'>Available from: <a href='https://wg21.link/SD8'>https://wg21.link/SD8</a></div></div></li></ul> </div></div></div><div id='defs' class='section'><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'><div class='marginalizedparent'><a class='marginalized' href='defs.html#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='defs-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='#defs-1.sentence-1'>.</a></div></div></div><div class='para'><div class='marginalizedparent'><a class='marginalized' href='defs.html#2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/intro.tex#L61'>#</a></div><div class='texpara'><div id='defs-2.sentence-1' class='sentence'>ISO and IEC maintain terminology databases
|
and the following apply<a class='hidden_link' href='#defs-1.sentence-1'>.</a></div></div></div><div class='para'><div class='marginalizedparent'><a class='marginalized' href='defs.html#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='defs-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='defs-2.1'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#defs-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='defs-2.2'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#defs-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='defs-2.1'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#defs-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='defs-2.2'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#defs-2.2'>(2.2)</a></div>IEC Electropedia: available at <a href='http://www.electropedia.org'>http://www.electropedia.org</a></li></ul>
|
||||||
</div></div></div></div><div id='spec' class='section'><h1 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='abbr_ref' href='index.html#spec'>[spec]</a></h1><div id='spec.ext' class='section'><h2 ><a class='secnum' style='min-width:65pt'>4.1</a> External <a class='abbr_ref' href='spec.ext.html'>[spec.ext]</a></h2><div class='para'><div class='marginalizedparent'><a class='marginalized' href='spec.ext.html#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/intro.tex#L76'>#</a></div><div class='texpara'><div id='spec.ext-1.sentence-1' class='sentence'>The specification of the mp-units library subsumes
|
</div></div></div></div><div id='spec' class='section'><h1 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='abbr_ref' href='index.html#spec'>[spec]</a></h1><div id='spec.ext' class='section'><h2 ><a class='secnum' style='min-width:65pt'>4.1</a> External <a class='abbr_ref' href='spec.ext.html'>[spec.ext]</a></h2><div class='para'><div class='marginalizedparent'><a class='marginalized' href='spec.ext.html#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='spec.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='#spec.ext-1.sentence-1'>.</a></div> <div id='spec.ext-note-1' class='note'><div class='texpara'>[<i>Note <a href='#spec.ext-note-1'>1</a></i>: <div id='spec.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='#spec.ext-1.sentence-1'>.</a></div> <div id='spec.ext-note-1' class='note'><div class='texpara'>[<i>Note <a href='#spec.ext-note-1'>1</a></i>: <div id='spec.ext-1.sentence-2' class='sentence'>This means that, non exhaustively,
|
||||||
<ul class='itemize'><li id='spec.ext-1.1'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#spec.ext-1.1'>(1.1)</a></div><span class='texttt'><span class='operator'>​::​</span>mp_<span class='shy'></span>units2</span> is a reserved namespace, and</li><li id='spec.ext-1.2'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#spec.ext-1.2'>(1.2)</a></div><span class='texttt'>std<span class='operator'>​::​</span>vector<span class='anglebracket'><</span>mp_<span class='shy'></span>units<span class='operator'>​::​</span><i >type</i><span class='anglebracket'>></span></span>
|
<ul class='itemize'><li id='spec.ext-1.1'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#spec.ext-1.1'>(1.1)</a></div><span class='texttt'><span class='operator'>​::​</span>mp_<span class='shy'></span>units2</span> is a reserved namespace, and</li><li id='spec.ext-1.2'><div class='marginalizedparent' style='left:-27mm'><a class='marginalized' href='#spec.ext-1.2'>(1.2)</a></div><span class='texttt'>std<span class='operator'>​::​</span>vector<span class='anglebracket'><</span>mp_<span class='shy'></span>units<span class='operator'>​::​</span><i >type</i><span class='anglebracket'>></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='#spec.ext-1.sentence-2'>.</a></li></ul></div> — <i>end note</i>]</div></div></div></div><div class='para'><div class='marginalizedparent'><a class='marginalized' href='spec.ext.html#2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/intro.tex#L91'>#</a></div><div class='texpara'><div id='spec.ext-2.sentence-1' class='sentence'>The mp-units library is not part of the C++ implementation<a class='hidden_link' href='#spec.ext-2.sentence-1'>.</a></div></div></div></div><div id='spec.cats' class='section'><h2 ><a class='secnum' style='min-width:65pt'>4.2</a> Categories <a class='abbr_ref' href='spec.cats.html'>[spec.cats]</a></h2><div class='para'><div class='marginalizedparent'><a class='marginalized' href='spec.cats.html#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/intro.tex#L96'>#</a></div><div class='texpara'><div id='spec.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='#spec.ext-1.sentence-2'>.</a></li></ul></div> — <i>end note</i>]</div></div></div></div><div class='para'><div class='marginalizedparent'><a class='marginalized' href='spec.ext.html#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='spec.ext-2.sentence-1' class='sentence'>The mp-units library is not part of the C++ implementation<a class='hidden_link' href='#spec.ext-2.sentence-1'>.</a></div></div></div></div><div id='spec.cats' class='section'><h2 ><a class='secnum' style='min-width:65pt'>4.2</a> Categories <a class='abbr_ref' href='spec.cats.html'>[spec.cats]</a></h2><div class='para'><div class='marginalizedparent'><a class='marginalized' href='spec.cats.html#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='spec.cats-1.sentence-1' class='sentence'>Detailed specifications for each of the components in the library are in
|
||||||
<a href='#qties' title='5 Quantities library'>[qties]</a>–<a href='#qties' title='5 Quantities library'>[qties]</a>,
|
<a href='#qties' title='5 Quantities library'>[qties]</a>–<a href='#qties' title='5 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='#spec.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 <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' title='5 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'><div class='marginalizedparent'><a class='marginalized' href='spec.cats.html#2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/intro.tex#L108'>#</a></div><div class='texpara'><div id='spec.cats-2.sentence-1' class='sentence'>The quantities library (<a href='#qties' title='5 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='#spec.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 <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' title='5 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'><div class='marginalizedparent'><a class='marginalized' href='spec.cats.html#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='spec.cats-2.sentence-1' class='sentence'>The quantities library (<a href='#qties' title='5 Quantities library'>[qties]</a>)
|
||||||
describes components for dealing with quantities<a class='hidden_link' href='#spec.cats-2.sentence-1'>.</a></div></div></div></div><div id='spec.mods' class='section'><h2 ><a class='secnum' style='min-width:65pt'>4.3</a> Modules <a class='abbr_ref' href='spec.mods.html'>[spec.mods]</a></h2><div class='para'><div class='marginalizedparent'><a class='marginalized' href='spec.mods.html#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/intro.tex#L114'>#</a></div><div class='texpara'><div id='spec.mods-1.sentence-1' class='sentence'>The mp-units library provides the
|
describes components for dealing with quantities<a class='hidden_link' href='#spec.cats-2.sentence-1'>.</a></div></div></div></div><div id='spec.mods' class='section'><h2 ><a class='secnum' style='min-width:65pt'>4.3</a> Modules <a class='abbr_ref' href='spec.mods.html'>[spec.mods]</a></h2><div class='para'><div class='marginalizedparent'><a class='marginalized' href='spec.mods.html#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='spec.mods-1.sentence-1' class='sentence'>The mp-units library provides the
|
||||||
<a class='hidden_link' href='#def:module,mp-units' title='4.3 Modules [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 Modules [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='#spec.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 <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='spec.reqs' class='section'><h2 ><a class='secnum' style='min-width:65pt'>4.4</a> Library-wide requirements <a class='abbr_ref' href='spec.reqs.html'>[spec.reqs]</a></h2><div id='spec.res.names' class='section'><h3 ><a class='secnum' 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'><div class='marginalizedparent'><a class='marginalized' href='spec.res.names.html#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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
|
shown in Table <a href='#tab:modules' title='Table 2: mp-units modules'>2</a><a class='hidden_link' href='#spec.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 <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='spec.reqs' class='section'><h2 ><a class='secnum' style='min-width:65pt'>4.4</a> Library-wide requirements <a class='abbr_ref' href='spec.reqs.html'>[spec.reqs]</a></h2><div id='spec.res.names' class='section'><h3 ><a class='secnum' 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'><div class='marginalizedparent'><a class='marginalized' href='spec.res.names.html#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
|
||||||
<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></div><div id='qties' class='section'><h1 ><a class='secnum' style='min-width:50pt'>5</a> Quantities library <a class='abbr_ref' href='index.html#qties'>[qties]</a></h1><div id='qties.summary' class='section'><h2 ><a class='secnum' style='min-width:65pt'>5.1</a> Summary <a class='abbr_ref' href='qties.summary.html'>[qties.summary]</a></h2><div class='para'><div class='marginalizedparent'><a class='marginalized' href='qties.summary.html#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/quantities.tex#L6'>#</a></div><div class='texpara'><div id='qties.summary-1.sentence-1' class='sentence'>This Clause describes components for dealing with quantities,
|
<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></div><div id='qties' class='section'><h1 ><a class='secnum' style='min-width:50pt'>5</a> Quantities library <a class='abbr_ref' href='index.html#qties'>[qties]</a></h1><div id='qties.summary' class='section'><h2 ><a class='secnum' style='min-width:65pt'>5.1</a> Summary <a class='abbr_ref' href='qties.summary.html'>[qties.summary]</a></h2><div class='para'><div class='marginalizedparent'><a class='marginalized' href='qties.summary.html#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/quantities.tex#L6'>#</a></div><div class='texpara'><div id='qties.summary-1.sentence-1' class='sentence'>This Clause describes components for dealing with quantities,
|
||||||
as summarized in Table <a href='#tab:qties.summary' title='Table 3: Quantities library summary'>3</a><a class='hidden_link' href='#qties.summary-1.sentence-1'>.</a></div></div><div class='texpara'><div class='numberedTable' id='tab:qties.summary'>Table <a href='#tab:qties.summary'>3</a>: Quantities library summary <a href='./tab:qties.summary.html'>[tab:qties.summary]</a><br><table ><tr id='tab:qties.summary-row-1' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-1'>🔗</a></div></td><td class='empty left'></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-1-column-2-sentence-1' class='sentence'><b>Subclause</b></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-1-column-3-sentence-1' class='sentence'><b>Module</b></div></div></td></tr><tr id='tab:qties.summary-row-2' class='capsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-2'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-1-sentence-1' class='sentence'><a href='#qty.helpers' title='5.5 Helpers'>[qty.<span class='shy'></span>helpers]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-2-sentence-1' class='sentence'>Helpers</div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-3-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units<span class='operator'>.</span>core</span></div></div></td></tr><tr id='tab:qties.summary-row-3'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-3'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-3-column-1-sentence-1' class='sentence'><a href='#qty.traits' title='5.6 Traits'>[qty.<span class='shy'></span>traits]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-3-column-2-sentence-1' class='sentence'>Traits</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-4'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-4'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-4-column-1-sentence-1' class='sentence'><a href='#qty.concepts' title='5.7 Concepts'>[qty.<span class='shy'></span>concepts]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-4-column-2-sentence-1' class='sentence'>Concepts</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-5'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-5'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-5-column-1-sentence-1' class='sentence'><a href='#qty.types' title='5.8 Types'>[qty.<span class='shy'></span>types]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-5-column-2-sentence-1' class='sentence'>Types</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-6'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-6'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-6-column-1-sentence-1' class='sentence'><a href='#qty.compat' title='5.9 Compatibility'>[qty.<span class='shy'></span>compat]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-6-column-2-sentence-1' class='sentence'>Compatibility</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-7'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-7'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-7-column-1-sentence-1' class='sentence'><a href='#qty.one' title='5.10 Dimension one'>[qty.<span class='shy'></span>one]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-7-column-2-sentence-1' class='sentence'>Dimension one</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-8' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-8'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-1-sentence-1' class='sentence'><a href='#qty.systems' title='5.11 Systems'>[qty.<span class='shy'></span>systems]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-2-sentence-1' class='sentence'>Systems</div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-3-sentence-1' class='sentence'><span class='texttt'>mp_<Line truncated
|
as summarized in Table <a href='#tab:qties.summary' title='Table 3: Quantities library summary'>3</a><a class='hidden_link' href='#qties.summary-1.sentence-1'>.</a></div></div><div class='texpara'><div class='numberedTable' id='tab:qties.summary'>Table <a href='#tab:qties.summary'>3</a>: Quantities library summary <a href='./tab:qties.summary.html'>[tab:qties.summary]</a><br><table ><tr id='tab:qties.summary-row-1' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-1'>🔗</a></div></td><td class='empty left'></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-1-column-2-sentence-1' class='sentence'><b>Subclause</b></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-1-column-3-sentence-1' class='sentence'><b>Module</b></div></div></td></tr><tr id='tab:qties.summary-row-2' class='capsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-2'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-1-sentence-1' class='sentence'><a href='#qty.helpers' title='5.5 Helpers'>[qty.<span class='shy'></span>helpers]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-2-sentence-1' class='sentence'>Helpers</div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-3-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units<span class='operator'>.</span>core</span></div></div></td></tr><tr id='tab:qties.summary-row-3'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-3'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-3-column-1-sentence-1' class='sentence'><a href='#qty.traits' title='5.6 Traits'>[qty.<span class='shy'></span>traits]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-3-column-2-sentence-1' class='sentence'>Traits</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-4'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-4'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-4-column-1-sentence-1' class='sentence'><a href='#qty.concepts' title='5.7 Concepts'>[qty.<span class='shy'></span>concepts]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-4-column-2-sentence-1' class='sentence'>Concepts</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-5'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-5'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-5-column-1-sentence-1' class='sentence'><a href='#qty.types' title='5.8 Types'>[qty.<span class='shy'></span>types]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-5-column-2-sentence-1' class='sentence'>Types</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-6'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-6'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-6-column-1-sentence-1' class='sentence'><a href='#qty.compat' title='5.9 Compatibility'>[qty.<span class='shy'></span>compat]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-6-column-2-sentence-1' class='sentence'>Compatibility</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-7'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-7'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-7-column-1-sentence-1' class='sentence'><a href='#qty.one' title='5.10 Dimension one'>[qty.<span class='shy'></span>one]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-7-column-2-sentence-1' class='sentence'>Dimension one</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-8' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-8'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-1-sentence-1' class='sentence'><a href='#qty.systems' title='5.11 Systems'>[qty.<span class='shy'></span>systems]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-2-sentence-1' class='sentence'>Systems</div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-3-sentence-1' class='sentence'><span class='texttt'>mp_<Line truncated
|
||||||
|
|
||||||
<span class='keyword'>export</span> <span class='keyword'>import</span> mp_units<span class='operator'>.</span>core;
|
<span class='keyword'>export</span> <span class='keyword'>import</span> mp_units<span class='operator'>.</span>core;
|
||||||
@@ -109,7 +109,7 @@ as summarized in Table <a href='#tab:qties.summary' title='Table 3: Quantities l
|
|||||||
|
|
||||||
<span class='curlybracket'>}</span>
|
<span class='curlybracket'>}</span>
|
||||||
</span></span></div></div><div id='qty.helpers' class='section'><h2 ><a class='secnum' style='min-width:65pt'>5.5</a> Helpers <a class='abbr_ref' href='qty.helpers.html'>[qty.helpers]</a></h2><div class='texpara'><div class='itemdecl' id='qty.helpers-itemdecl:1'><div class='marginalizedparent'><a class='itemDeclLink' href='#qty.helpers-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>;
|
</span></span></div></div><div id='qty.helpers' class='section'><h2 ><a class='secnum' style='min-width:65pt'>5.5</a> Helpers <a class='abbr_ref' href='qty.helpers.html'>[qty.helpers]</a></h2><div class='texpara'><div class='itemdecl' id='qty.helpers-itemdecl:1'><div class='marginalizedparent'><a class='itemDeclLink' href='#qty.helpers-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'><div class='marginalizedparent'><a class='marginalized' href='qty.helpers.html#1'>1</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/quantities.tex#L122'>#</a></div><div class='texpara'><div id='qty.helpers-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'>&</span><span class='operator'>&</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='#qty.helpers-1.sentence-1'>.</a></div></div></div></div><div class='para'><div class='marginalizedparent'><a class='marginalized' href='qty.helpers.html#2'>2</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/quantities.tex#L126'>#</a></div><div class='texpara'><div id='qty.helpers-2.sentence-1' class='sentence'><i >Returns</i>: <span class='texttt'><span class='literal'>true</span></span> if
|
</code></div></div><div class='para'><div class='marginalizedparent'><a class='marginalized' href='qty.helpers.html#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='qty.helpers-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'>&</span><span class='operator'>&</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='#qty.helpers-1.sentence-1'>.</a></div></div></div></div><div class='para'><div class='marginalizedparent'><a class='marginalized' href='qty.helpers.html#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='qty.helpers-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='#qty.helpers-2.sentence-1'>.</a></div></div></div></div></div><div id='qty.traits' class='section'><h2 ><a class='secnum' style='min-width:65pt'>5.6</a> Traits <a class='abbr_ref' href='qty.traits.html'>[qty.traits]</a></h2><div class='texpara'><div class='itemdecl' id='qty.traits-itemdecl:1'><div class='marginalizedparent'><a class='itemDeclLink' href='#qty.traits-itemdecl:1'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>template</span><span class='anglebracket'><</span><span class='keyword'>typename</span> Rep<span class='anglebracket'>></span>
|
<span class='texttt'><span class='literal'>false</span></span> otherwise<a class='hidden_link' href='#qty.helpers-2.sentence-1'>.</a></div></div></div></div></div><div id='qty.traits' class='section'><h2 ><a class='secnum' style='min-width:65pt'>5.6</a> Traits <a class='abbr_ref' href='qty.traits.html'>[qty.traits]</a></h2><div class='texpara'><div class='itemdecl' id='qty.traits-itemdecl:1'><div class='marginalizedparent'><a class='itemDeclLink' href='#qty.traits-itemdecl:1'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>template</span><span class='anglebracket'><</span><span class='keyword'>typename</span> Rep<span class='anglebracket'>></span>
|
||||||
@@ -121,7 +121,7 @@ that is a specialization of <span class='texttt'><span class='squarebracket'>[</
|
|||||||
|
|
||||||
<span class='keyword'>template</span><span class='anglebracket'><</span><span class='keyword'>typename</span> Rep<span class='anglebracket'>></span>
|
<span class='keyword'>template</span><span class='anglebracket'><</span><span class='keyword'>typename</span> Rep<span class='anglebracket'>></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 Traits [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 Traits [qty.traits]'>is_tensor</a></span> <span class='operator'>=</span> <span class='literal'>false</span>;
|
||||||
</code></div></div><div class='para'><div class='marginalizedparent'><a class='marginalized' href='qty.traits.html#1'>1</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/quantities.tex#L149'>#</a></div><div class='texpara'><div id='qty.traits-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' title='4.1 External'>[spec.<span class='shy'></span>ext]</a>),
|
</code></div></div><div class='para'><div class='marginalizedparent'><a class='marginalized' href='qty.traits.html#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='qty.traits-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' title='4.1 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
|
||||||
@@ -145,12 +145,12 @@ and <span class='texttt'><span class='literal'>false</span></span> for types whi
|
|||||||
<a class='index' id='conceptref:named-quantity-spec'></a><span class='texttt'><i >named-quantity-spec</i></span><span class='anglebracket'><</span>T<span class='anglebracket'>></span> <span class='operator'>|</span><span class='operator'>|</span>
|
<a class='index' id='conceptref:named-quantity-spec'></a><span class='texttt'><i >named-quantity-spec</i></span><span class='anglebracket'><</span>T<span class='anglebracket'>></span> <span class='operator'>|</span><span class='operator'>|</span>
|
||||||
detail<span class='operator'>::</span>IntermediateDerivedQuantitySpec<span class='anglebracket'><</span>T<span class='anglebracket'>></span> <span class='operator'>|</span><span class='operator'>|</span>
|
detail<span class='operator'>::</span>IntermediateDerivedQuantitySpec<span class='anglebracket'><</span>T<span class='anglebracket'>></span> <span class='operator'>|</span><span class='operator'>|</span>
|
||||||
template_of<span class='parenthesis'>(</span><span class='operator'>^</span>T<span class='parenthesis'>)</span> <span class='operator'>=</span><span class='operator'>=</span> <span class='operator'>^</span>kind_of;
|
template_of<span class='parenthesis'>(</span><span class='operator'>^</span>T<span class='parenthesis'>)</span> <span class='operator'>=</span><span class='operator'>=</span> <span class='operator'>^</span>kind_of;
|
||||||
</code></div></div></div><div id='qty.types' class='section'><h2 ><a class='secnum' style='min-width:65pt'>5.8</a> Types <a class='abbr_ref' href='qty.types.html'>[qty.types]</a></h2><div id='qty.types.general' class='section'><h3 ><a class='secnum' 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'><div class='marginalizedparent'><a class='marginalized' href='qty.types.general.html#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/quantities.tex#L196'>#</a></div><div class='texpara'><div id='qty.types.general-1.sentence-1' class='sentence'>A <a class='hidden_link' href='#def:type,quantity' title='5.8.1 General [qty.types.general]'><span id='def:type,quantity'><i >quantity type</i></span></a>
|
</code></div></div></div><div id='qty.types' class='section'><h2 ><a class='secnum' style='min-width:65pt'>5.8</a> Types <a class='abbr_ref' href='qty.types.html'>[qty.types]</a></h2><div id='qty.types.general' class='section'><h3 ><a class='secnum' 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'><div class='marginalizedparent'><a class='marginalized' href='qty.types.general.html#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='qty.types.general-1.sentence-1' class='sentence'>A <a class='hidden_link' href='#def:type,quantity' title='5.8.1 General [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='#qty.types.general-1.sentence-1'>.</a></div> <div id='qty.types.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='#qty.types.general-1.sentence-1'>.</a></div> <div id='qty.types.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'>​::​</span>rep</span> as its number
|
with <span class='texttt'><i >Q</i><span class='operator'>​::​</span>rep</span> as its number
|
||||||
and <span class='texttt'><i >Q</i><span class='operator'>​::​</span>reference</span> as its reference<a class='hidden_link' href='#qty.types.general-1.sentence-2'>.</a></div> <div id='qty.types.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'>​::​</span>reference</span> as its reference<a class='hidden_link' href='#qty.types.general-1.sentence-2'>.</a></div> <div id='qty.types.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'>​::​</span>rep</span> is a structural type<a class='hidden_link' href='#qty.types.general-1.sentence-3'>.</a></div></div></div><div class='para'><div class='marginalizedparent'><a class='marginalized' href='qty.types.general.html#2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/quantities.tex#L206'>#</a></div><div class='texpara'><div id='qty.types.general-2.sentence-1' class='sentence'>Each class template defined in subclause <a href='#qty.types' title='5.8 Types'>[qty.<span class='shy'></span>types]</a>
|
if <span class='texttt'><i >Q</i><span class='operator'>​::​</span>rep</span> is a structural type<a class='hidden_link' href='#qty.types.general-1.sentence-3'>.</a></div></div></div><div class='para'><div class='marginalizedparent'><a class='marginalized' href='qty.types.general.html#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='qty.types.general-2.sentence-1' class='sentence'>Each class template defined in subclause <a href='#qty.types' title='5.8 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='#qty.types.general-2.sentence-1'>.</a></div></div></div></div><div id='qty.type' class='section'><h3 ><a class='secnum' 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='#qty.types.general-2.sentence-1'>.</a></div></div></div></div><div id='qty.type' class='section'><h3 ><a class='secnum' 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>
|
||||||
|
|
||||||
|
|||||||
@@ -11,4 +11,4 @@ h4 { margin: 0.1em 5pt 0.1em 5pt; border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
|
|||||||
h3 { border-bottom-color: #b0b0b05a; }
|
h3 { border-bottom-color: #b0b0b05a; }
|
||||||
h4 { border-bottom-color: #b0b0b05a; }
|
h4 { border-bottom-color: #b0b0b05a; }
|
||||||
}
|
}
|
||||||
</style></head><body><div class='wrapper'><h1 style='text-align:center; hyphens:none; margin: 1cm'>mp-units Library Reference Documentations</h1><div class='tocHeader'>(Generated on 2024-11-05 from the <a href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e'>LaTeX sources</a> by <a href='https://github.com/Eelis/cxxdraft-htmlgen'>cxxdraft-htmlgen</a>. This is <em>not</em> an ISO publication.)<br><br><b>Note: this is an early draft. It's known to be incomplet and incorrekt, and it has lots of b<span style='position:relative;left:-1.2pt'>a</span><span style='position:relative;left:1pt'>d</span> for<span style='position:relative;left:-3pt'>matti<span style='position:relative;bottom:0.15ex'>n</span>g.</span></b></div><br><h1>Contents</h1><div id='scope'><h2 ><a class='secnum' href='#scope' style='min-width:50pt'>1</a> Scope <a class='folded_abbr_ref' href='scope.html'>[scope]</a></h2><div class='tocChapter'></div></div><div id='refs'><h2 ><a class='secnum' href='#refs' style='min-width:50pt'>2</a> References <a class='folded_abbr_ref' href='refs.html'>[refs]</a></h2><div class='tocChapter'></div></div><div id='defs'><h2 ><a class='secnum' href='#defs' style='min-width:50pt'>3</a> Terms and definitions <a class='folded_abbr_ref' href='defs.html'>[defs]</a></h2><div class='tocChapter'></div></div><div id='spec'><h2 ><a class='secnum' href='#spec' style='min-width:50pt'>4</a> Specification <a class='folded_abbr_ref' href='spec.html'>[spec]</a></h2><div class='tocChapter'><div id='spec.ext'><h3 ><a class='secnum' href='#spec.ext' style='min-width:65pt'>4.1</a> External <a class='abbr_ref' href='spec.ext.html'>[spec.<span class='shy'></span>ext]</a><div style='clear:right'></div></h3></div><div id='spec.cats'><h3 ><a class='secnum' href='#spec.cats' style='min-width:65pt'>4.2</a> Categories <a class='abbr_ref' href='spec.cats.html'>[spec.<span class='shy'></span>cats]</a><div style='clear:right'></div></h3></div><div id='spec.mods'><h3 ><a class='secnum' href='#spec.mods' style='min-width:65pt'>4.3</a> Modules <a class='abbr_ref' href='spec.mods.html'>[spec.<span class='shy'></span>mods]</a><div style='clear:right'></div></h3></div><div id='spec.reqs'><h3 ><a class='secnum' href='#spec.reqs' style='min-width:65pt'>4.4</a> Library-wide requirements <a class='abbr_ref' href='spec.reqs.html'>[spec.<span class='shy'></span>reqs]</a><div style='clear:right'></div></h3><div id='spec.res.names'><h4 ><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.<span class='shy'></span>res.<span class='shy'></span>names]</a><div style='clear:right'></div></h4></div></div></div></div><div id='qties'><h2 ><a class='secnum' href='#qties' style='min-width:50pt'>5</a> Quantities library <a class='folded_abbr_ref' href='qties.html'>[qties]</a></h2><div class='tocChapter'><div id='qties.summary'><h3 ><a class='secnum' href='#qties.summary' style='min-width:65pt'>5.1</a> Summary <a class='abbr_ref' href='qties.summary.html'>[qties.<span class='shy'></span>summary]</a><div style='clear:right'></div></h3></div><div id='mp.units.syn'><h3 ><a class='secnum' href='#mp.units.syn' style='min-width:65pt'>5.2</a> Module <span class='texttt'>mp_<span class='shy'></span>units</span> synopsis <a class='abbr_ref' href='mp.units.syn.html'>[mp.<span class='shy'></span>units.<span class='shy'></span>syn]</a><div style='clear:right'></div></h3></div><div id='mp.units.core.syn'><h3 ><a class='secnum' href='#mp.units.core.syn' style='min-width:65pt'>5.3</a> Module <span class='texttt'>mp_<span class='shy'></span>units.core</span> synopsis <a class='abbr_ref' href='mp.units.core.syn.html'>[mp.<span class='shy'></span>units.<span class='shy'></span>core.<span class='shy'></span>syn]</a><div style='clear:right'></div></h3></div><div id='mp.units.systems.syn'><h3 ><a class='secnum' href='#mp.units.systems.syn' style='min-width:65pt'>5.4</a> Module <span class='texttt'>mp_<span class='shy'></span>units.systems</span> synopsis <a class='abbr_ref' href='mp.units.systems.syn.html'>[mp.<span class='shy'></span>units.<span class='shy'></span>systems.<span class='shy'></span>syn]</a><div style='clear:right'></div></h3></div><div id='qty.helpers'><h3 ><a class='secnum' href='#qty.helpers' style='min-width:65pt'>5.5</a> Helpers <a class='abbr_ref' href='qty.helpers.html'>[qty.<span class='shy'></span>helpers]</a><div style='clear:right'></div></h3></div><div id='qty.traits'><h3 ><a class='secnum' href='#qty.traits' style='min-width:65pt'>5.6</a> Traits <a class='abbr_ref' href='qty.traits.html'>[qty.<span class='shy'></span>traits]</a><div style='clear:right'></div></h3></div><div id='qty.concepts'><h3 ><a class='secnum' href='#qty.concepts' style='min-width:65pt'>5.7</a> Concepts <a class='abbr_ref' href='qty.concepts.html'>[qty.<span class='shy'></span>concepts]</a><div style='clear:right'></div></h3></div><div id='qty.types'><h3 ><a class='secnum' href='Line truncated
|
</style></head><body><div class='wrapper'><h1 style='text-align:center; hyphens:none; margin: 1cm'>mp-units Library Reference Documentations</h1><div class='tocHeader'>(Generated on 2024-11-06 from the <a href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d'>LaTeX sources</a> by <a href='https://github.com/Eelis/cxxdraft-htmlgen'>cxxdraft-htmlgen</a>. This is <em>not</em> an ISO publication.)<br><br><b>Note: this is an early draft. It's known to be incomplet and incorrekt, and it has lots of b<span style='position:relative;left:-1.2pt'>a</span><span style='position:relative;left:1pt'>d</span> for<span style='position:relative;left:-3pt'>matti<span style='position:relative;bottom:0.15ex'>n</span>g.</span></b></div><br><h1>Contents</h1><div id='scope'><h2 ><a class='secnum' href='#scope' style='min-width:50pt'>1</a> Scope <a class='folded_abbr_ref' href='scope.html'>[scope]</a></h2><div class='tocChapter'></div></div><div id='refs'><h2 ><a class='secnum' href='#refs' style='min-width:50pt'>2</a> References <a class='folded_abbr_ref' href='refs.html'>[refs]</a></h2><div class='tocChapter'></div></div><div id='defs'><h2 ><a class='secnum' href='#defs' style='min-width:50pt'>3</a> Terms and definitions <a class='folded_abbr_ref' href='defs.html'>[defs]</a></h2><div class='tocChapter'></div></div><div id='spec'><h2 ><a class='secnum' href='#spec' style='min-width:50pt'>4</a> Specification <a class='folded_abbr_ref' href='spec.html'>[spec]</a></h2><div class='tocChapter'><div id='spec.ext'><h3 ><a class='secnum' href='#spec.ext' style='min-width:65pt'>4.1</a> External <a class='abbr_ref' href='spec.ext.html'>[spec.<span class='shy'></span>ext]</a><div style='clear:right'></div></h3></div><div id='spec.cats'><h3 ><a class='secnum' href='#spec.cats' style='min-width:65pt'>4.2</a> Categories <a class='abbr_ref' href='spec.cats.html'>[spec.<span class='shy'></span>cats]</a><div style='clear:right'></div></h3></div><div id='spec.mods'><h3 ><a class='secnum' href='#spec.mods' style='min-width:65pt'>4.3</a> Modules <a class='abbr_ref' href='spec.mods.html'>[spec.<span class='shy'></span>mods]</a><div style='clear:right'></div></h3></div><div id='spec.reqs'><h3 ><a class='secnum' href='#spec.reqs' style='min-width:65pt'>4.4</a> Library-wide requirements <a class='abbr_ref' href='spec.reqs.html'>[spec.<span class='shy'></span>reqs]</a><div style='clear:right'></div></h3><div id='spec.res.names'><h4 ><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.<span class='shy'></span>res.<span class='shy'></span>names]</a><div style='clear:right'></div></h4></div></div></div></div><div id='qties'><h2 ><a class='secnum' href='#qties' style='min-width:50pt'>5</a> Quantities library <a class='folded_abbr_ref' href='qties.html'>[qties]</a></h2><div class='tocChapter'><div id='qties.summary'><h3 ><a class='secnum' href='#qties.summary' style='min-width:65pt'>5.1</a> Summary <a class='abbr_ref' href='qties.summary.html'>[qties.<span class='shy'></span>summary]</a><div style='clear:right'></div></h3></div><div id='mp.units.syn'><h3 ><a class='secnum' href='#mp.units.syn' style='min-width:65pt'>5.2</a> Module <span class='texttt'>mp_<span class='shy'></span>units</span> synopsis <a class='abbr_ref' href='mp.units.syn.html'>[mp.<span class='shy'></span>units.<span class='shy'></span>syn]</a><div style='clear:right'></div></h3></div><div id='mp.units.core.syn'><h3 ><a class='secnum' href='#mp.units.core.syn' style='min-width:65pt'>5.3</a> Module <span class='texttt'>mp_<span class='shy'></span>units.core</span> synopsis <a class='abbr_ref' href='mp.units.core.syn.html'>[mp.<span class='shy'></span>units.<span class='shy'></span>core.<span class='shy'></span>syn]</a><div style='clear:right'></div></h3></div><div id='mp.units.systems.syn'><h3 ><a class='secnum' href='#mp.units.systems.syn' style='min-width:65pt'>5.4</a> Module <span class='texttt'>mp_<span class='shy'></span>units.systems</span> synopsis <a class='abbr_ref' href='mp.units.systems.syn.html'>[mp.<span class='shy'></span>units.<span class='shy'></span>systems.<span class='shy'></span>syn]</a><div style='clear:right'></div></h3></div><div id='qty.helpers'><h3 ><a class='secnum' href='#qty.helpers' style='min-width:65pt'>5.5</a> Helpers <a class='abbr_ref' href='qty.helpers.html'>[qty.<span class='shy'></span>helpers]</a><div style='clear:right'></div></h3></div><div id='qty.traits'><h3 ><a class='secnum' href='#qty.traits' style='min-width:65pt'>5.6</a> Traits <a class='abbr_ref' href='qty.traits.html'>[qty.<span class='shy'></span>traits]</a><div style='clear:right'></div></h3></div><div id='qty.concepts'><h3 ><a class='secnum' href='#qty.concepts' style='min-width:65pt'>5.7</a> Concepts <a class='abbr_ref' href='qty.concepts.html'>[qty.<span class='shy'></span>concepts]</a><div style='clear:right'></div></h3></div><div id='qty.types'><h3 ><a class='secnum' href='Line truncated
|
||||||
@@ -12,4 +12,4 @@ div.tocChapter { display: none; }
|
|||||||
h3 { border-bottom-color: #b0b0b05a; }
|
h3 { border-bottom-color: #b0b0b05a; }
|
||||||
h4 { border-bottom-color: #b0b0b05a; }
|
h4 { border-bottom-color: #b0b0b05a; }
|
||||||
}
|
}
|
||||||
</style></head><body><div class='wrapper'><h1 style='text-align:center; hyphens:none; margin: 1cm'>mp-units Library Reference Documentations</h1><div class='tocHeader'>(Generated on 2024-11-05 from the <a href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e'>LaTeX sources</a> by <a href='https://github.com/Eelis/cxxdraft-htmlgen'>cxxdraft-htmlgen</a>. This is <em>not</em> an ISO publication.)<br><br><b>Note: this is an early draft. It's known to be incomplet and incorrekt, and it has lots of b<span style='position:relative;left:-1.2pt'>a</span><span style='position:relative;left:1pt'>d</span> for<span style='position:relative;left:-3pt'>matti<span style='position:relative;bottom:0.15ex'>n</span>g.</span></b></div><br><h1>Contents</h1><div id='scope'><h2 ><a class='secnum' style='min-width:50pt'>1</a> Scope <a class='folded_abbr_ref' href='scope.html'>[scope]</a><a class='unfolded_abbr_ref' href='scope.html'>[scope]</a></h2><div class='tocChapter'></div></div><div id='refs'><h2 ><a class='secnum' style='min-width:50pt'>2</a> References <a class='folded_abbr_ref' href='refs.html'>[refs]</a><a class='unfolded_abbr_ref' href='refs.html'>[refs]</a></h2><div class='tocChapter'></div></div><div id='defs'><h2 ><a class='secnum' style='min-width:50pt'>3</a> Terms and definitions <a class='folded_abbr_ref' href='defs.html'>[defs]</a><a class='unfolded_abbr_ref' href='defs.html'>[defs]</a></h2><div class='tocChapter'></div></div><div id='spec'><h2 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='folded_abbr_ref' href='#spec'>[spec]</a><a class='unfolded_abbr_ref' href='spec.html'>[spec]</a></h2><div class='tocChapter'><div id='spec.ext'><h3 ><a class='secnum' style='min-width:65pt'>4.1</a> External <a class='abbr_ref' href='spec.ext.html'>[spec.<span class='shy'></span>ext]</a><div style='clear:right'></div></h3></div><div id='spec.cats'><h3 ><a class='secnum' style='min-width:65pt'>4.2</a> Categories <a class='abbr_ref' href='spec.cats.html'>[spec.<span class='shy'></span>cats]</a><div style='clear:right'></div></h3></div><div id='spec.mods'><h3 ><a class='secnum' style='min-width:65pt'>4.3</a> Modules <a class='abbr_ref' href='spec.mods.html'>[spec.<span class='shy'></span>mods]</a><div style='clear:right'></div></h3></div><div id='spec.reqs'><h3 ><a class='secnum' style='min-width:65pt'>4.4</a> Library-wide requirements <a class='abbr_ref' href='spec.reqs.html'>[spec.<span class='shy'></span>reqs]</a><div style='clear:right'></div></h3><div id='spec.res.names'><h4 ><a class='secnum' style='min-width:80pt'>4.4.1</a> Reserved names <a class='abbr_ref' href='spec.res.names.html'>[spec.<span class='shy'></span>res.<span class='shy'></span>names]</a><div style='clear:right'></div></h4></div></div></div></div><div id='qties'><h2 ><a class='secnum' style='min-width:50pt'>5</a> Quantities library <a class='folded_abbr_ref' href='#qties'>[qties]</a><a class='unfolded_abbr_ref' href='qties.html'>[qties]</a></h2><div class='tocChapter'><div id='qties.summary'><h3 ><a class='secnum' style='min-width:65pt'>5.1</a> Summary <a class='abbr_ref' href='qties.summary.html'>[qties.<span class='shy'></span>summary]</a><div style='clear:right'></div></h3></div><div id='mp.units.syn'><h3 ><a class='secnum' style='min-width:65pt'>5.2</a> Module <span class='texttt'>mp_<span class='shy'></span>units</span> synopsis <a class='abbr_ref' href='mp.units.syn.html'>[mp.<span class='shy'></span>units.<span class='shy'></span>syn]</a><div style='clear:right'></div></h3></div><div id='mp.units.core.syn'><h3 ><a class='secnum' style='min-width:65pt'>5.3</a> Module <span class='texttt'>mp_<span class='shy'></span>units.core</span> synopsis <a class='abbr_ref' href='mp.units.core.syn.html'>[mp.<span class='shy'></span>units.<span class='shy'></span>core.<span class='shy'></span>syn]</a><div style='clear:right'></div></h3></div><div id='mp.units.systems.syn'><h3 ><a class='secnum' style='min-width:65pt'>5.4</a> Module <span class='texttt'>mp_<span class='shy'></span>units.systems</span> synopsis <a class='abbr_ref' href='mp.units.systems.syn.html'>[mp.<span class='shy'></span>units.<span class='shy'></span>systems.<span class='shy'></span>syn]</a><div style='clear:right'></div></h3></div><div id='qty.helpers'><h3 ><a class='secnum' style='min-width:65pt'>5.5</a> Helpers <a class='abbr_ref' href='qty.helpers.html'>[qty.<span class='shy'></span>helpers]</a><div style='clear:right'></div></h3></div><div id='qty.traits'><h3 ><a class='secnum' style='min-width:65pt'>5.6</a> Traits <a class='abbr_ref' href='qty.traits.html'>[qty.<span class='shy'></span>traits]</a><div style='clear:right'></div></h3></div><div id='qty.concepts'><h3 ><a class='secnum' style='min-width:65pt'>5.7</a> Concepts <a class='abbr_ref' href='qty.concepts.html'>[qty.<span class='shy'></span>concepts]</a><div style='clear:right'></div></h3></div><div id='qty.types'><h3 ><a class='secnum' style='min-width:65pt'>5.8</a> Types <a class='abLine truncated
|
</style></head><body><div class='wrapper'><h1 style='text-align:center; hyphens:none; margin: 1cm'>mp-units Library Reference Documentations</h1><div class='tocHeader'>(Generated on 2024-11-06 from the <a href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d'>LaTeX sources</a> by <a href='https://github.com/Eelis/cxxdraft-htmlgen'>cxxdraft-htmlgen</a>. This is <em>not</em> an ISO publication.)<br><br><b>Note: this is an early draft. It's known to be incomplet and incorrekt, and it has lots of b<span style='position:relative;left:-1.2pt'>a</span><span style='position:relative;left:1pt'>d</span> for<span style='position:relative;left:-3pt'>matti<span style='position:relative;bottom:0.15ex'>n</span>g.</span></b></div><br><h1>Contents</h1><div id='scope'><h2 ><a class='secnum' style='min-width:50pt'>1</a> Scope <a class='folded_abbr_ref' href='scope.html'>[scope]</a><a class='unfolded_abbr_ref' href='scope.html'>[scope]</a></h2><div class='tocChapter'></div></div><div id='refs'><h2 ><a class='secnum' style='min-width:50pt'>2</a> References <a class='folded_abbr_ref' href='refs.html'>[refs]</a><a class='unfolded_abbr_ref' href='refs.html'>[refs]</a></h2><div class='tocChapter'></div></div><div id='defs'><h2 ><a class='secnum' style='min-width:50pt'>3</a> Terms and definitions <a class='folded_abbr_ref' href='defs.html'>[defs]</a><a class='unfolded_abbr_ref' href='defs.html'>[defs]</a></h2><div class='tocChapter'></div></div><div id='spec'><h2 ><a class='secnum' style='min-width:50pt'>4</a> Specification <a class='folded_abbr_ref' href='#spec'>[spec]</a><a class='unfolded_abbr_ref' href='spec.html'>[spec]</a></h2><div class='tocChapter'><div id='spec.ext'><h3 ><a class='secnum' style='min-width:65pt'>4.1</a> External <a class='abbr_ref' href='spec.ext.html'>[spec.<span class='shy'></span>ext]</a><div style='clear:right'></div></h3></div><div id='spec.cats'><h3 ><a class='secnum' style='min-width:65pt'>4.2</a> Categories <a class='abbr_ref' href='spec.cats.html'>[spec.<span class='shy'></span>cats]</a><div style='clear:right'></div></h3></div><div id='spec.mods'><h3 ><a class='secnum' style='min-width:65pt'>4.3</a> Modules <a class='abbr_ref' href='spec.mods.html'>[spec.<span class='shy'></span>mods]</a><div style='clear:right'></div></h3></div><div id='spec.reqs'><h3 ><a class='secnum' style='min-width:65pt'>4.4</a> Library-wide requirements <a class='abbr_ref' href='spec.reqs.html'>[spec.<span class='shy'></span>reqs]</a><div style='clear:right'></div></h3><div id='spec.res.names'><h4 ><a class='secnum' style='min-width:80pt'>4.4.1</a> Reserved names <a class='abbr_ref' href='spec.res.names.html'>[spec.<span class='shy'></span>res.<span class='shy'></span>names]</a><div style='clear:right'></div></h4></div></div></div></div><div id='qties'><h2 ><a class='secnum' style='min-width:50pt'>5</a> Quantities library <a class='folded_abbr_ref' href='#qties'>[qties]</a><a class='unfolded_abbr_ref' href='qties.html'>[qties]</a></h2><div class='tocChapter'><div id='qties.summary'><h3 ><a class='secnum' style='min-width:65pt'>5.1</a> Summary <a class='abbr_ref' href='qties.summary.html'>[qties.<span class='shy'></span>summary]</a><div style='clear:right'></div></h3></div><div id='mp.units.syn'><h3 ><a class='secnum' style='min-width:65pt'>5.2</a> Module <span class='texttt'>mp_<span class='shy'></span>units</span> synopsis <a class='abbr_ref' href='mp.units.syn.html'>[mp.<span class='shy'></span>units.<span class='shy'></span>syn]</a><div style='clear:right'></div></h3></div><div id='mp.units.core.syn'><h3 ><a class='secnum' style='min-width:65pt'>5.3</a> Module <span class='texttt'>mp_<span class='shy'></span>units.core</span> synopsis <a class='abbr_ref' href='mp.units.core.syn.html'>[mp.<span class='shy'></span>units.<span class='shy'></span>core.<span class='shy'></span>syn]</a><div style='clear:right'></div></h3></div><div id='mp.units.systems.syn'><h3 ><a class='secnum' style='min-width:65pt'>5.4</a> Module <span class='texttt'>mp_<span class='shy'></span>units.systems</span> synopsis <a class='abbr_ref' href='mp.units.systems.syn.html'>[mp.<span class='shy'></span>units.<span class='shy'></span>systems.<span class='shy'></span>syn]</a><div style='clear:right'></div></h3></div><div id='qty.helpers'><h3 ><a class='secnum' style='min-width:65pt'>5.5</a> Helpers <a class='abbr_ref' href='qty.helpers.html'>[qty.<span class='shy'></span>helpers]</a><div style='clear:right'></div></h3></div><div id='qty.traits'><h3 ><a class='secnum' style='min-width:65pt'>5.6</a> Traits <a class='abbr_ref' href='qty.traits.html'>[qty.<span class='shy'></span>traits]</a><div style='clear:right'></div></h3></div><div id='qty.concepts'><h3 ><a class='secnum' style='min-width:65pt'>5.7</a> Concepts <a class='abbr_ref' href='qty.concepts.html'>[qty.<span class='shy'></span>concepts]</a><div style='clear:right'></div></h3></div><div id='qty.types'><h3 ><a class='secnum' style='min-width:65pt'>5.8</a> Types <a class='abLine truncated
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang='en'><head><title>[qties]</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><div id='summary' class='section'><h2 ><a class='secnum' href='#summary' style='min-width:65pt'>5.1</a> Summary <a class='abbr_ref' href='qties.summary.html'>[qties.summary]</a></h2><div class='para' id='summary-1'><div class='marginalizedparent'><a class='marginalized' href='#summary-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/quantities.tex#L6'>#</a></div><div class='texpara'><div id='summary-1.sentence-1' class='sentence'>This Clause describes components for dealing with quantities,
|
<!DOCTYPE html><html lang='en'><head><title>[qties]</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><div id='summary' class='section'><h2 ><a class='secnum' href='#summary' style='min-width:65pt'>5.1</a> Summary <a class='abbr_ref' href='qties.summary.html'>[qties.summary]</a></h2><div class='para' id='summary-1'><div class='marginalizedparent'><a class='marginalized' href='#summary-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units315e47c2573226a4fea735c0514806595d94ed6d/source/quantities.tex#L6'>#</a></div><div class='texpara'><div id='summary-1.sentence-1' class='sentence'>This Clause describes components for dealing with quantities,
|
||||||
as summarized in Table <a href='#tab:qties.summary' title='Table 3: Quantities library summary'>3</a><a class='hidden_link' href='#summary-1.sentence-1'>.</a></div></div><div class='texpara'><div class='numberedTable' id='tab:qties.summary'>Table <a href='#tab:qties.summary'>3</a>: Quantities library summary <a href='./tab:qties.summary.html'>[tab:qties.summary]</a><br><table ><tr id='tab:qties.summary-row-1' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-1'>🔗</a></div></td><td class='empty left'></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-1-column-2-sentence-1' class='sentence'><b>Subclause</b></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-1-column-3-sentence-1' class='sentence'><b>Module</b></div></div></td></tr><tr id='tab:qties.summary-row-2' class='capsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-2'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-1-sentence-1' class='sentence'><a href='#qty.helpers' title='5.5 Helpers'>[qty.<span class='shy'></span>helpers]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-2-sentence-1' class='sentence'>Helpers</div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-3-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units<span class='operator'>.</span>core</span></div></div></td></tr><tr id='tab:qties.summary-row-3'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-3'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-3-column-1-sentence-1' class='sentence'><a href='#qty.traits' title='5.6 Traits'>[qty.<span class='shy'></span>traits]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-3-column-2-sentence-1' class='sentence'>Traits</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-4'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-4'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-4-column-1-sentence-1' class='sentence'><a href='#qty.concepts' title='5.7 Concepts'>[qty.<span class='shy'></span>concepts]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-4-column-2-sentence-1' class='sentence'>Concepts</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-5'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-5'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-5-column-1-sentence-1' class='sentence'><a href='#qty.types' title='5.8 Types'>[qty.<span class='shy'></span>types]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-5-column-2-sentence-1' class='sentence'>Types</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-6'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-6'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-6-column-1-sentence-1' class='sentence'><a href='#qty.compat' title='5.9 Compatibility'>[qty.<span class='shy'></span>compat]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-6-column-2-sentence-1' class='sentence'>Compatibility</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-7'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-7'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-7-column-1-sentence-1' class='sentence'><a href='#qty.one' title='5.10 Dimension one'>[qty.<span class='shy'></span>one]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-7-column-2-sentence-1' class='sentence'>Dimension one</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-8' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-8'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-1-sentence-1' class='sentence'><a href='#qty.systems' title='5.11 Systems'>[qty.<span class='shy'></span>systems]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-2-sentence-1' class='sentence'>Systems</div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-3-sentence-1' class='sentence'><span class='texttt'>mp_<span cLine truncated
|
as summarized in Table <a href='#tab:qties.summary' title='Table 3: Quantities library summary'>3</a><a class='hidden_link' href='#summary-1.sentence-1'>.</a></div></div><div class='texpara'><div class='numberedTable' id='tab:qties.summary'>Table <a href='#tab:qties.summary'>3</a>: Quantities library summary <a href='./tab:qties.summary.html'>[tab:qties.summary]</a><br><table ><tr id='tab:qties.summary-row-1' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-1'>🔗</a></div></td><td class='empty left'></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-1-column-2-sentence-1' class='sentence'><b>Subclause</b></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-1-column-3-sentence-1' class='sentence'><b>Module</b></div></div></td></tr><tr id='tab:qties.summary-row-2' class='capsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-2'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-1-sentence-1' class='sentence'><a href='#qty.helpers' title='5.5 Helpers'>[qty.<span class='shy'></span>helpers]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-2-sentence-1' class='sentence'>Helpers</div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-3-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units<span class='operator'>.</span>core</span></div></div></td></tr><tr id='tab:qties.summary-row-3'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-3'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-3-column-1-sentence-1' class='sentence'><a href='#qty.traits' title='5.6 Traits'>[qty.<span class='shy'></span>traits]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-3-column-2-sentence-1' class='sentence'>Traits</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-4'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-4'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-4-column-1-sentence-1' class='sentence'><a href='#qty.concepts' title='5.7 Concepts'>[qty.<span class='shy'></span>concepts]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-4-column-2-sentence-1' class='sentence'>Concepts</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-5'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-5'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-5-column-1-sentence-1' class='sentence'><a href='#qty.types' title='5.8 Types'>[qty.<span class='shy'></span>types]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-5-column-2-sentence-1' class='sentence'>Types</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-6'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-6'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-6-column-1-sentence-1' class='sentence'><a href='#qty.compat' title='5.9 Compatibility'>[qty.<span class='shy'></span>compat]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-6-column-2-sentence-1' class='sentence'>Compatibility</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-7'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-7'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-7-column-1-sentence-1' class='sentence'><a href='#qty.one' title='5.10 Dimension one'>[qty.<span class='shy'></span>one]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-7-column-2-sentence-1' class='sentence'>Dimension one</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-8' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-8'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-1-sentence-1' class='sentence'><a href='#qty.systems' title='5.11 Systems'>[qty.<span class='shy'></span>systems]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-2-sentence-1' class='sentence'>Systems</div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-3-sentence-1' class='sentence'><span class='texttt'>mp_<span cLine truncated
|
||||||
|
|
||||||
<span class='keyword'>export</span> <span class='keyword'>import</span> mp_units<span class='operator'>.</span>core;
|
<span class='keyword'>export</span> <span class='keyword'>import</span> mp_units<span class='operator'>.</span>core;
|
||||||
@@ -79,7 +79,7 @@ as summarized in Table <a href='#tab:qties.summary' title='Table 3: Quantities l
|
|||||||
|
|
||||||
<span class='curlybracket'>}</span>
|
<span class='curlybracket'>}</span>
|
||||||
</span></span></div></div><div id='qty.helpers' class='section'><h2 ><a class='secnum' href='#qty.helpers' style='min-width:65pt'>5.5</a> Helpers <a class='abbr_ref' href='qty.helpers.html'>[qty.helpers]</a></h2><div class='texpara'><div class='itemdecl' id='qty.helpers-itemdecl:1'><div class='marginalizedparent'><a class='itemDeclLink' href='#qty.helpers-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>;
|
</span></span></div></div><div id='qty.helpers' class='section'><h2 ><a class='secnum' href='#qty.helpers' style='min-width:65pt'>5.5</a> Helpers <a class='abbr_ref' href='qty.helpers.html'>[qty.helpers]</a></h2><div class='texpara'><div class='itemdecl' id='qty.helpers-itemdecl:1'><div class='marginalizedparent'><a class='itemDeclLink' href='#qty.helpers-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='qty.helpers-1'><div class='marginalizedparent'><a class='marginalized' href='#qty.helpers-1'>1</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/quantities.tex#L122'>#</a></div><div class='texpara'><div id='qty.helpers-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'>&</span><span class='operator'>&</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='#qty.helpers-1.sentence-1'>.</a></div></div></div></div><div class='para' id='qty.helpers-2'><div class='marginalizedparent'><a class='marginalized' href='#qty.helpers-2'>2</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/quantities.tex#L126'>#</a></div><div class='texpara'><div id='qty.helpers-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='qty.helpers-1'><div class='marginalizedparent'><a class='marginalized' href='#qty.helpers-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='qty.helpers-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'>&</span><span class='operator'>&</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='#qty.helpers-1.sentence-1'>.</a></div></div></div></div><div class='para' id='qty.helpers-2'><div class='marginalizedparent'><a class='marginalized' href='#qty.helpers-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='qty.helpers-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='#qty.helpers-2.sentence-1'>.</a></div></div></div></div></div><div id='qty.traits' class='section'><h2 ><a class='secnum' href='#qty.traits' style='min-width:65pt'>5.6</a> Traits <a class='abbr_ref' href='qty.traits.html'>[qty.traits]</a></h2><div class='texpara'><div class='itemdecl' id='qty.traits-itemdecl:1'><div class='marginalizedparent'><a class='itemDeclLink' href='#qty.traits-itemdecl:1'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>template</span><span class='anglebracket'><</span><span class='keyword'>typename</span> Rep<span class='anglebracket'>></span>
|
<span class='texttt'><span class='literal'>false</span></span> otherwise<a class='hidden_link' href='#qty.helpers-2.sentence-1'>.</a></div></div></div></div></div><div id='qty.traits' class='section'><h2 ><a class='secnum' href='#qty.traits' style='min-width:65pt'>5.6</a> Traits <a class='abbr_ref' href='qty.traits.html'>[qty.traits]</a></h2><div class='texpara'><div class='itemdecl' id='qty.traits-itemdecl:1'><div class='marginalizedparent'><a class='itemDeclLink' href='#qty.traits-itemdecl:1'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>template</span><span class='anglebracket'><</span><span class='keyword'>typename</span> Rep<span class='anglebracket'>></span>
|
||||||
@@ -91,7 +91,7 @@ that is a specialization of <span class='texttt'><span class='squarebracket'>[</
|
|||||||
|
|
||||||
<span class='keyword'>template</span><span class='anglebracket'><</span><span class='keyword'>typename</span> Rep<span class='anglebracket'>></span>
|
<span class='keyword'>template</span><span class='anglebracket'><</span><span class='keyword'>typename</span> Rep<span class='anglebracket'>></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 Traits [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 Traits [qty.traits]'>is_tensor</a></span> <span class='operator'>=</span> <span class='literal'>false</span>;
|
||||||
</code></div></div><div class='para' id='qty.traits-1'><div class='marginalizedparent'><a class='marginalized' href='#qty.traits-1'>1</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/quantities.tex#L149'>#</a></div><div class='texpara'><div id='qty.traits-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 External'>[spec.<span class='shy'></span>ext]</a>),
|
</code></div></div><div class='para' id='qty.traits-1'><div class='marginalizedparent'><a class='marginalized' href='#qty.traits-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='qty.traits-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 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
|
||||||
@@ -115,12 +115,12 @@ and <span class='texttt'><span class='literal'>false</span></span> for types whi
|
|||||||
<a class='index' id='conceptref:named-quantity-spec'></a><span class='texttt'><i >named-quantity-spec</i></span><span class='anglebracket'><</span>T<span class='anglebracket'>></span> <span class='operator'>|</span><span class='operator'>|</span>
|
<a class='index' id='conceptref:named-quantity-spec'></a><span class='texttt'><i >named-quantity-spec</i></span><span class='anglebracket'><</span>T<span class='anglebracket'>></span> <span class='operator'>|</span><span class='operator'>|</span>
|
||||||
detail<span class='operator'>::</span>IntermediateDerivedQuantitySpec<span class='anglebracket'><</span>T<span class='anglebracket'>></span> <span class='operator'>|</span><span class='operator'>|</span>
|
detail<span class='operator'>::</span>IntermediateDerivedQuantitySpec<span class='anglebracket'><</span>T<span class='anglebracket'>></span> <span class='operator'>|</span><span class='operator'>|</span>
|
||||||
template_of<span class='parenthesis'>(</span><span class='operator'>^</span>T<span class='parenthesis'>)</span> <span class='operator'>=</span><span class='operator'>=</span> <span class='operator'>^</span>kind_of;
|
template_of<span class='parenthesis'>(</span><span class='operator'>^</span>T<span class='parenthesis'>)</span> <span class='operator'>=</span><span class='operator'>=</span> <span class='operator'>^</span>kind_of;
|
||||||
</code></div></div></div><div id='qty.types' class='section'><h2 ><a class='secnum' href='#qty.types' style='min-width:65pt'>5.8</a> Types <a class='abbr_ref' href='qty.types.html'>[qty.types]</a></h2><div id='qty.types.general' class='section'><h3 ><a class='secnum' href='#qty.types.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='qty.types.general-1'><div class='marginalizedparent'><a class='marginalized' href='#qty.types.general-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/quantities.tex#L196'>#</a></div><div class='texpara'><div id='qty.types.general-1.sentence-1' class='sentence'>A <a class='hidden_link' href='#def:type,quantity' title='5.8.1 General [qty.types.general]'><span id='def:type,quantity'><i >quantity type</i></span></a>
|
</code></div></div></div><div id='qty.types' class='section'><h2 ><a class='secnum' href='#qty.types' style='min-width:65pt'>5.8</a> Types <a class='abbr_ref' href='qty.types.html'>[qty.types]</a></h2><div id='qty.types.general' class='section'><h3 ><a class='secnum' href='#qty.types.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='qty.types.general-1'><div class='marginalizedparent'><a class='marginalized' href='#qty.types.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='qty.types.general-1.sentence-1' class='sentence'>A <a class='hidden_link' href='#def:type,quantity' title='5.8.1 General [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='#qty.types.general-1.sentence-1'>.</a></div> <div id='qty.types.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='#qty.types.general-1.sentence-1'>.</a></div> <div id='qty.types.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'>​::​</span>rep</span> as its number
|
with <span class='texttt'><i >Q</i><span class='operator'>​::​</span>rep</span> as its number
|
||||||
and <span class='texttt'><i >Q</i><span class='operator'>​::​</span>reference</span> as its reference<a class='hidden_link' href='#qty.types.general-1.sentence-2'>.</a></div> <div id='qty.types.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'>​::​</span>reference</span> as its reference<a class='hidden_link' href='#qty.types.general-1.sentence-2'>.</a></div> <div id='qty.types.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'>​::​</span>rep</span> is a structural type<a class='hidden_link' href='#qty.types.general-1.sentence-3'>.</a></div></div></div><div class='para' id='qty.types.general-2'><div class='marginalizedparent'><a class='marginalized' href='#qty.types.general-2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/mpusz/mp-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/quantities.tex#L206'>#</a></div><div class='texpara'><div id='qty.types.general-2.sentence-1' class='sentence'>Each class template defined in subclause <a href='#qty.types' title='5.8 Types'>[qty.<span class='shy'></span>types]</a>
|
if <span class='texttt'><i >Q</i><span class='operator'>​::​</span>rep</span> is a structural type<a class='hidden_link' href='#qty.types.general-1.sentence-3'>.</a></div></div></div><div class='para' id='qty.types.general-2'><div class='marginalizedparent'><a class='marginalized' href='#qty.types.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='qty.types.general-2.sentence-1' class='sentence'>Each class template defined in subclause <a href='#qty.types' title='5.8 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='#qty.types.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='#qty.types.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>
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
<!DOCTYPE html><html lang='en'><head><title>[qties.summary]</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.1</a> Summary <a class='abbr_ref'>[qties.summary]</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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/source/quantities.tex#L6'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'>This Clause describes components for dealing with quantities,
|
<!DOCTYPE html><html lang='en'><head><title>[qties.summary]</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.1</a> Summary <a class='abbr_ref'>[qties.summary]</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/quantities.tex#L6'>#</a></div><div class='texpara'><div id='1.sentence-1' class='sentence'>This Clause describes components for dealing with quantities,
|
||||||
as summarized in Table <a href='#tab:qties.summary' title='Table 3: Quantities library summary'>3</a><a class='hidden_link' href='#1.sentence-1'>.</a></div></div><div class='texpara'><div class='numberedTable' id='tab:qties.summary'>Table <a href='#tab:qties.summary'>3</a>: Quantities library summary <a href='./tab:qties.summary.html'>[tab:qties.summary]</a><br><table ><tr id='tab:qties.summary-row-1' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-1'>🔗</a></div></td><td class='empty left'></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-1-column-2-sentence-1' class='sentence'><b>Subclause</b></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-1-column-3-sentence-1' class='sentence'><b>Module</b></div></div></td></tr><tr id='tab:qties.summary-row-2' class='capsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-2'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-1-sentence-1' class='sentence'><a href='qty.helpers.html' title='5.5 Helpers'>[qty.<span class='shy'></span>helpers]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-2-sentence-1' class='sentence'>Helpers</div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-3-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units<span class='operator'>.</span>core</span></div></div></td></tr><tr id='tab:qties.summary-row-3'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-3'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-3-column-1-sentence-1' class='sentence'><a href='qty.traits.html' title='5.6 Traits'>[qty.<span class='shy'></span>traits]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-3-column-2-sentence-1' class='sentence'>Traits</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-4'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-4'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-4-column-1-sentence-1' class='sentence'><a href='qty.concepts.html' title='5.7 Concepts'>[qty.<span class='shy'></span>concepts]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-4-column-2-sentence-1' class='sentence'>Concepts</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-5'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-5'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-5-column-1-sentence-1' class='sentence'><a href='qty.types.html' title='5.8 Types'>[qty.<span class='shy'></span>types]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-5-column-2-sentence-1' class='sentence'>Types</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-6'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-6'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-6-column-1-sentence-1' class='sentence'><a href='qty.compat.html' title='5.9 Compatibility'>[qty.<span class='shy'></span>compat]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-6-column-2-sentence-1' class='sentence'>Compatibility</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-7'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-7'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-7-column-1-sentence-1' class='sentence'><a href='qty.one.html' title='5.10 Dimension one'>[qty.<span class='shy'></span>one]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-7-column-2-sentence-1' class='sentence'>Dimension one</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-8' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-8'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-1-sentence-1' class='sentence'><a href='qty.systems.html' title='5.11 Systems'>[qty.<span class='shy'></span>systems]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-2-sentence-1' class='sentence'>Systems</div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-3-sentence-1' class='sentence'><span classLine truncated
|
as summarized in Table <a href='#tab:qties.summary' title='Table 3: Quantities library summary'>3</a><a class='hidden_link' href='#1.sentence-1'>.</a></div></div><div class='texpara'><div class='numberedTable' id='tab:qties.summary'>Table <a href='#tab:qties.summary'>3</a>: Quantities library summary <a href='./tab:qties.summary.html'>[tab:qties.summary]</a><br><table ><tr id='tab:qties.summary-row-1' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-1'>🔗</a></div></td><td class='empty left'></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-1-column-2-sentence-1' class='sentence'><b>Subclause</b></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-1-column-3-sentence-1' class='sentence'><b>Module</b></div></div></td></tr><tr id='tab:qties.summary-row-2' class='capsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-2'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-1-sentence-1' class='sentence'><a href='qty.helpers.html' title='5.5 Helpers'>[qty.<span class='shy'></span>helpers]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-2-sentence-1' class='sentence'>Helpers</div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-2-column-3-sentence-1' class='sentence'><span class='texttt'>mp_<span class='shy'></span>units<span class='operator'>.</span>core</span></div></div></td></tr><tr id='tab:qties.summary-row-3'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-3'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-3-column-1-sentence-1' class='sentence'><a href='qty.traits.html' title='5.6 Traits'>[qty.<span class='shy'></span>traits]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-3-column-2-sentence-1' class='sentence'>Traits</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-4'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-4'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-4-column-1-sentence-1' class='sentence'><a href='qty.concepts.html' title='5.7 Concepts'>[qty.<span class='shy'></span>concepts]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-4-column-2-sentence-1' class='sentence'>Concepts</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-5'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-5'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-5-column-1-sentence-1' class='sentence'><a href='qty.types.html' title='5.8 Types'>[qty.<span class='shy'></span>types]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-5-column-2-sentence-1' class='sentence'>Types</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-6'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-6'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-6-column-1-sentence-1' class='sentence'><a href='qty.compat.html' title='5.9 Compatibility'>[qty.<span class='shy'></span>compat]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-6-column-2-sentence-1' class='sentence'>Compatibility</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-7'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-7'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-7-column-1-sentence-1' class='sentence'><a href='qty.one.html' title='5.10 Dimension one'>[qty.<span class='shy'></span>one]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-7-column-2-sentence-1' class='sentence'>Dimension one</div></div></td><td class='empty left'></td></tr><tr id='tab:qties.summary-row-8' class='rowsep'><td class='hidden'><div class='marginalizedparent'><a class='itemDeclLink' href='#tab:qties.summary-row-8'>🔗</a></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-1-sentence-1' class='sentence'><a href='qty.systems.html' title='5.11 Systems'>[qty.<span class='shy'></span>systems]</a></div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-2-sentence-1' class='sentence'>Systems</div></div></td><td class='left'><div class='texpara'><div id='tab:qties.summary-row-8-column-3-sentence-1' class='sentence'><span classLine truncated
|
||||||
@@ -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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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'>&</span><span class='operator'>&</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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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-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'>&</span><span class='operator'>&</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
|
||||||
<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>
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<span class='keyword'>template</span><span class='anglebracket'><</span><span class='keyword'>typename</span> Rep<span class='anglebracket'>></span>
|
<span class='keyword'>template</span><span class='anglebracket'><</span><span class='keyword'>typename</span> Rep<span class='anglebracket'>></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 Traits [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 Traits [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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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 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-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 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
|
||||||
|
|||||||
@@ -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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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 General [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-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 General [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'>​::​</span>rep</span> as its number
|
with <span class='texttt'><i >Q</i><span class='operator'>​::​</span>rep</span> as its number
|
||||||
and <span class='texttt'><i >Q</i><span class='operator'>​::​</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'>​::​</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'>​::​</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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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 Types'>[qty.<span class='shy'></span>types]</a>
|
if <span class='texttt'><i >Q</i><span class='operator'>​::​</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 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>
|
||||||
@@ -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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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 General [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-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 General [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'>​::​</span>rep</span> as its number
|
with <span class='texttt'><i >Q</i><span class='operator'>​::​</span>rep</span> as its number
|
||||||
and <span class='texttt'><i >Q</i><span class='operator'>​::​</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'>​::​</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'>​::​</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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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'>​::​</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]
|
||||||
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>
|
||||||
|
|
||||||
|
|||||||
@@ -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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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-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
|
||||||
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
|
||||||
|
|||||||
@@ -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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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 Scope [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-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 Scope [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>
|
||||||
@@ -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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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-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
|
||||||
<a href='qties.html' title='5 Quantities library'>[qties]</a>–<a href='qties.html' title='5 Quantities library'>[qties]</a>,
|
<a href='qties.html' title='5 Quantities library'>[qties]</a>–<a href='qties.html' title='5 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 <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 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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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 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 <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 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 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>
|
||||||
@@ -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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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-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
|
||||||
<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 <a href='#note-1'>1</a></i>: <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 <a href='#note-1'>1</a></i>: <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'>​::​</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'>​::​</span>vector<span class='anglebracket'><</span>mp_<span class='shy'></span>units<span class='operator'>​::​</span><i >type</i><span class='anglebracket'>></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'>​::​</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'>​::​</span>vector<span class='anglebracket'><</span>mp_<span class='shy'></span>units<span class='operator'>​::​</span><i >type</i><span class='anglebracket'>></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> — <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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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> — <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>
|
||||||
@@ -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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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-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
|
||||||
<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 <a href='#ext-note-1'>1</a></i>: <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 <a href='#ext-note-1'>1</a></i>: <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'>​::​</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'>​::​</span>vector<span class='anglebracket'><</span>mp_<span class='shy'></span>units<span class='operator'>​::​</span><i >type</i><span class='anglebracket'>></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'>​::​</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'>​::​</span>vector<span class='anglebracket'><</span>mp_<span class='shy'></span>units<span class='operator'>​::​</span><i >type</i><span class='anglebracket'>></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> — <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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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> — <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
|
||||||
<a href='qties.html' title='5 Quantities library'>[qties]</a>–<a href='qties.html' title='5 Quantities library'>[qties]</a>,
|
<a href='qties.html' title='5 Quantities library'>[qties]</a>–<a href='qties.html' title='5 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 <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 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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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 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 <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 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 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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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-units315e47c2573226a4fea735c0514806595d94ed6d/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 Modules [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 Modules [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 <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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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 <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
|
||||||
<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>
|
||||||
@@ -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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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-units315e47c2573226a4fea735c0514806595d94ed6d/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 Modules [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 Modules [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 <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 <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>
|
||||||
@@ -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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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-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
|
||||||
<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>
|
||||||
@@ -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-units4e6abda7276985cc5c2d6cf0d95e9c29ce04a49e/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-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
|
||||||
<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>
|
||||||
+1
-1
@@ -2503,8 +2503,8 @@ a hierarchy of quantities of the same kind.</p>
|
|||||||
path_length --- distance["<b>distance</b>"]
|
path_length --- distance["<b>distance</b>"]
|
||||||
distance --- radial_distance["<b>radial_distance</b>"]
|
distance --- radial_distance["<b>radial_distance</b>"]
|
||||||
length --- wavelength["<b>wavelength</b>"]
|
length --- wavelength["<b>wavelength</b>"]
|
||||||
length --- position_vector["<b>position_vector</b><br>{vector}"]
|
|
||||||
length --- displacement["<b>displacement</b><br>{vector}"]
|
length --- displacement["<b>displacement</b><br>{vector}"]
|
||||||
|
displacement --- position_vector["<b>position_vector</b>"]
|
||||||
radius --- radius_of_curvature["<b>radius_of_curvature</b>"]</code></pre>
|
radius --- radius_of_curvature["<b>radius_of_curvature</b>"]</code></pre>
|
||||||
<p>Each of the above quantities expresses some kind of <em>length</em>, and each can be measured with meters,
|
<p>Each of the above quantities expresses some kind of <em>length</em>, and each can be measured with meters,
|
||||||
which is the unit defined by the SI for quantities of <em>length</em>. However, each has different
|
which is the unit defined by the SI for quantities of <em>length</em>. However, each has different
|
||||||
|
|||||||
+3
-3
@@ -2359,8 +2359,8 @@ of describing all relations between quantities in this case.</p>
|
|||||||
path_length --- distance["<b>distance</b>"]
|
path_length --- distance["<b>distance</b>"]
|
||||||
distance --- radial_distance["<b>radial_distance</b>"]
|
distance --- radial_distance["<b>radial_distance</b>"]
|
||||||
length --- wavelength["<b>wavelength</b>"]
|
length --- wavelength["<b>wavelength</b>"]
|
||||||
length --- position_vector["<b>position_vector</b><br>{vector}"]
|
|
||||||
length --- displacement["<b>displacement</b><br>{vector}"]
|
length --- displacement["<b>displacement</b><br>{vector}"]
|
||||||
|
displacement --- position_vector["<b>position_vector</b>"]
|
||||||
radius --- radius_of_curvature["<b>radius_of_curvature</b>"]</code></pre>
|
radius --- radius_of_curvature["<b>radius_of_curvature</b>"]</code></pre>
|
||||||
<p>This is how we can model it in C++:</p>
|
<p>This is how we can model it in C++:</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="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">dim_length</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">base_dimension</span><span class="o"><</span><span class="s">"L"</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">dim_length</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="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">dim_length</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">base_dimension</span><span class="o"><</span><span class="s">"L"</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">dim_length</span><span class="p">;</span>
|
||||||
@@ -2380,8 +2380,8 @@ of describing all relations between quantities in this case.</p>
|
|||||||
</span><span id="__span-0-15"><a id="__codelineno-0-15" name="__codelineno-0-15" href="#__codelineno-0-15"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">distance</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">path_length</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">distance</span><span class="p">;</span>
|
</span><span id="__span-0-15"><a id="__codelineno-0-15" name="__codelineno-0-15" href="#__codelineno-0-15"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">distance</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">path_length</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">distance</span><span class="p">;</span>
|
||||||
</span><span id="__span-0-16"><a id="__codelineno-0-16" name="__codelineno-0-16" href="#__codelineno-0-16"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">radial_distance</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">distance</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">radial_distance</span><span class="p">;</span>
|
</span><span id="__span-0-16"><a id="__codelineno-0-16" name="__codelineno-0-16" href="#__codelineno-0-16"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">radial_distance</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">distance</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">radial_distance</span><span class="p">;</span>
|
||||||
</span><span id="__span-0-17"><a id="__codelineno-0-17" name="__codelineno-0-17" href="#__codelineno-0-17"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">wavelength</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">length</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">wavelength</span><span class="p">;</span>
|
</span><span id="__span-0-17"><a id="__codelineno-0-17" name="__codelineno-0-17" href="#__codelineno-0-17"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">wavelength</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">length</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">wavelength</span><span class="p">;</span>
|
||||||
</span><span id="__span-0-18"><a id="__codelineno-0-18" name="__codelineno-0-18" href="#__codelineno-0-18"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">position_vector</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">position_vector</span><span class="p">;</span>
|
</span><span id="__span-0-18"><a id="__codelineno-0-18" name="__codelineno-0-18" href="#__codelineno-0-18"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">displacement</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">displacement</span><span class="p">;</span>
|
||||||
</span><span id="__span-0-19"><a id="__codelineno-0-19" name="__codelineno-0-19" href="#__codelineno-0-19"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">displacement</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">displacement</span><span class="p">;</span>
|
</span><span id="__span-0-19"><a id="__codelineno-0-19" name="__codelineno-0-19" href="#__codelineno-0-19"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">position_vector</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">displacement</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">position_vector</span><span class="p">;</span>
|
||||||
</span></code></pre></div>
|
</span></code></pre></div>
|
||||||
<p>Thanks to the expressivity and power of C++ templates, we can specify all quantity properties
|
<p>Thanks to the expressivity and power of C++ templates, we can specify all quantity properties
|
||||||
in one line of code. In the above code:</p>
|
in one line of code. In the above code:</p>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version": "https://jsonfeed.org/version/1", "title": "mp-units", "home_page_url": "https://mpusz.github.io/mp-units/HEAD/", "feed_url": "https://mpusz.github.io/mp-units/HEAD/feed_json_updated.json", "description": "The quantities and units library for C++", "icon": null, "authors": [{"name": "mp-units Team"}], "language": "en", "items": [{"id": "https://mpusz.github.io/mp-units/HEAD/blog/2024/11/05/mp-units-240-released/", "url": "https://mpusz.github.io/mp-units/HEAD/blog/2024/11/05/mp-units-240-released/", "title": "mp-units 2.4.0 released!", "content_html": "<h1>mp-units 2.4.0 released!</h1>\n<p><strong>A new product version can be obtained from\n<a href=\"https://github.com/mpusz/mp-units/releases/tag/v2.4.0\">GitHub</a> and\n<a href=\"https://conan.io/center/recipes/mp-units?version=2.4.0\">Conan</a>.</strong></p>\n<p>This release was unexpected. We planned a significant new feature to happen next, but while\npreparing for it, and also while writing API Reference documentation, we made so many vital fixes\nand improvements that we decided that they deserve a dedicated release first.</p>\n<p>This post describes the most significant improvements while a much longer list of the changes\nintroduced by the new version can be found in our <a href=\"../../release_notes.md#2.4.0\">Release Notes</a>.</p>", "image": "https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/11/05/mp-units-240-released.png", "date_modified": "2024-11-05T18:46:13+00:00", "authors": [{"name": "mpusz"}], "tags": ["Releases"]}, {"id": "https://mpusz.github.io/mp-units/HEAD/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits/", "url": "https://mpusz.github.io/mp-units/HEAD/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits/", "title": "International System of Quantities (ISQ): Part 5 - Benefits", "content_html": "<h1>International System of Quantities (ISQ): Part 5 - Benefits</h1>\n<p>In the previous articles, we introduced the International System of Quantities, described how we\ncan model and implement it in a programming language, and presented the issues of software that\ndoes not use such abstraction to implement a units library.</p>\n<p>Some of the issues raised in <a href=\"isq-part-2-problems-when-isq-is-not-used.md\">Part 2</a> of our series\nwere addressed in <a href=\"isq-part-3-modeling-isq.md\">Part 3</a> already. This article will present\nhow our ISQ model elegantly addresses the remaining problems.</p>", "image": "https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits.png", "date_modified": "2024-11-04T10:58:01+00:00", "authors": [{"name": "mpusz"}], "tags": ["Metrology"]}, {"id": "https://mpusz.github.io/mp-units/HEAD/blog/2024/10/07/international-system-of-quantities-isq-part-1---introduction/", "url": "https://mpusz.github.io/mp-units/HEAD/blog/2024/10/07/international-system-of-quantities-isq-part-1---introduction/", "title": "International System of Quantities (ISQ): Part 1 - Introduction", "content_html": "<h1>International System of Quantities (ISQ): Part 1 - Introduction</h1>\n<p>This post starts a series of articles about the International System of Quantities (ISQ).\nIn this series, we will describe:</p>\n<ul>\n<li>What is ISQ?</li>\n<li>Which engineering problems does ISQ help to solve and how?</li>\n<li>How to model and implement it in the programming language?</li>\n<li>What is missing in the ISQ, and why is that a problem?</li>\n</ul>", "image": "https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/10/07/international-system-of-quantities-isq-part-1---introduction.png", "date_modified": "2024-11-04T09:53:32+00:00", "authors": [{"name": "mpusz"}], "tags": ["Metrology"]}, {"id": "https://mpusz.github.io/mp-units/HEAD/blog/2024/10/14/international-system-of-quantities-isq-part-2---problems-when-isq-is-not-used/", "url": "https://mpusz.github.io/mp-units/HEAD/blog/2024/10/14/international-system-of-quantities-isq-part-2---problems-when-isq-is-not-used/", "title": "International System of Quantities (ISQ): Part 2 - Problems when ISQ is not used", "content_html": "<h1>International System of Quantities (ISQ): Part 2 - Problems when ISQ is not used</h1>\n<p>This article is the next one in our series about the ISQ. After introducing the basic terms and\nsystems, this article will talk about the issues we face when we base the quantities and units\nlibrary on just units or dimensions.</p>", "image": "https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/10/14/international-system-of-quantities-isq-part-2---problems-when-isq-is-not-used.png", "date_modified": "2024-11-04T09:53:32+00:00", "authors": [{"name": "mpusz"}], "tags": ["Metrology"]}, {"id": "https://mpusz.github.io/mp-units/HEAD/blog/2024/10/21/international-system-of-quantities-isq-part-3---modeling-isq/", "url": "https://mpusz.github.io/mp-units/HEAD/blog/2024/10/21/international-system-of-quantLine truncated
|
{"version": "https://jsonfeed.org/version/1", "title": "mp-units", "home_page_url": "https://mpusz.github.io/mp-units/HEAD/", "feed_url": "https://mpusz.github.io/mp-units/HEAD/feed_json_updated.json", "description": "The quantities and units library for C++", "icon": null, "authors": [{"name": "mp-units Team"}], "language": "en", "items": [{"id": "https://mpusz.github.io/mp-units/HEAD/blog/2024/10/21/international-system-of-quantities-isq-part-3---modeling-isq/", "url": "https://mpusz.github.io/mp-units/HEAD/blog/2024/10/21/international-system-of-quantities-isq-part-3---modeling-isq/", "title": "International System of Quantities (ISQ): Part 3 - Modeling ISQ", "content_html": "<h1>International System of Quantities (ISQ): Part 3 - Modeling ISQ</h1>\n<p>The physical units libraries on the market typically only focus on modeling one or more systems\nof units. However, as we have learned, this is not the only system kind to model. Another,\nand maybe even more important, is a system of quantities. The most important example here is\nthe International System of Quantities (ISQ) defined by ISO/IEC 80000.</p>\n<p>This article continues our series about the International System of Quantities. This time, we will\nlearn about the main ideas behind the ISQ and describe how it can be modelled in a programming\nlanguage.</p>", "image": "https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/10/21/international-system-of-quantities-isq-part-3---modeling-isq.png", "date_modified": "2024-11-06T17:30:51+00:00", "authors": [{"name": "mpusz"}], "tags": ["Metrology"]}, {"id": "https://mpusz.github.io/mp-units/HEAD/blog/2024/10/28/international-system-of-quantities-isq-part-4---implementing-isq/", "url": "https://mpusz.github.io/mp-units/HEAD/blog/2024/10/28/international-system-of-quantities-isq-part-4---implementing-isq/", "title": "International System of Quantities (ISQ): Part 4 - Implementing ISQ", "content_html": "<h1>International System of Quantities (ISQ): Part 4 - Implementing ISQ</h1>\n<p>Up until now, we have introduced the International System of Quantities and described how we can\nmodel its main aspects. This article will present how to implement those models in a programming\nlanguage, and we will point out some of the first issues that stand in our way.</p>", "image": "https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/10/28/international-system-of-quantities-isq-part-4---implementing-isq.png", "date_modified": "2024-11-06T17:30:51+00:00", "authors": [{"name": "mpusz"}], "tags": ["Metrology"]}, {"id": "https://mpusz.github.io/mp-units/HEAD/blog/2024/11/05/mp-units-240-released/", "url": "https://mpusz.github.io/mp-units/HEAD/blog/2024/11/05/mp-units-240-released/", "title": "mp-units 2.4.0 released!", "content_html": "<h1>mp-units 2.4.0 released!</h1>\n<p><strong>A new product version can be obtained from\n<a href=\"https://github.com/mpusz/mp-units/releases/tag/v2.4.0\">GitHub</a> and\n<a href=\"https://conan.io/center/recipes/mp-units?version=2.4.0\">Conan</a>.</strong></p>\n<p>This release was unexpected. We planned a significant new feature to happen next, but while\npreparing for it, and also while writing API Reference documentation, we made so many vital fixes\nand improvements that we decided that they deserve a dedicated release first.</p>\n<p>This post describes the most significant improvements while a much longer list of the changes\nintroduced by the new version can be found in our <a href=\"../../release_notes.md#2.4.0\">Release Notes</a>.</p>", "image": "https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/11/05/mp-units-240-released.png", "date_modified": "2024-11-05T18:46:13+00:00", "authors": [{"name": "mpusz"}], "tags": ["Releases"]}, {"id": "https://mpusz.github.io/mp-units/HEAD/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits/", "url": "https://mpusz.github.io/mp-units/HEAD/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits/", "title": "International System of Quantities (ISQ): Part 5 - Benefits", "content_html": "<h1>International System of Quantities (ISQ): Part 5 - Benefits</h1>\n<p>In the previous articles, we introduced the International System of Quantities, described how we\ncan model and implement it in a programming language, and presented the issues of software that\ndoes not use such abstraction to implement a units library.</p>\n<p>Some of the issues raised in <a href=\"isq-part-2-problems-when-isq-is-not-used.md\">Part 2</a> of our series\nwere addressed in <a href=\"isq-part-3-modeling-isq.md\">Part 3</a> already. This article will present\nhow our ISQ model elegantly addresses the remaining problems.</p>", "image": "https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits.png", "date_modified": "2024-11-04T10:58:01+00:00", "authors": [{"name": "mpusz"}], "tags": ["Metrology"]}, {"id": "https://mpusz.github.io/Line truncated
|
||||||
@@ -1 +1 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel><title>mp-units</title><description>The quantities and units library for C++</description><link>https://mpusz.github.io/mp-units/HEAD/</link><atom:link href="https://mpusz.github.io/mp-units/HEAD/feed_rss_created.xml" rel="self" type="application/rss+xml" /><managingEditor>mp-units Team</managingEditor><docs>https://github.com/mpusz/mp-units</docs><language>en</language> <pubDate>Tue, 05 Nov 2024 18:53:40 -0000</pubDate> <lastBuildDate>Tue, 05 Nov 2024 18:53:40 -0000</lastBuildDate> <ttl>1440</ttl> <generator>MkDocs RSS plugin - v1.16.0</generator> <item> <title>mp-units 2.4.0 released!</title> <author>mpusz</author> <category>Releases</category> <description><h1>mp-units 2.4.0 released!</h1><p><strong>A new product version can be obtained from<a href="https://github.com/mpusz/mp-units/releases/tag/v2.4.0">GitHub</a> and<a href="https://conan.io/center/recipes/mp-units?version=2.4.0">Conan</a>.</strong></p><p>This release was unexpected. We planned a significant new feature to happen next, but whilepreparing for it, and also while writing API Reference documentation, we made so many vital fixesand improvements that we decided that they deserve a dedicated release first.</p><p>This post describes the most significant improvements while a much longer list of the changesintroduced by the new version can be found in our <a href="../../release_notes.md#2.4.0">Release Notes</a>.</p></description><link>https://mpusz.github.io/mp-units/HEAD/blog/2024/11/05/mp-units-240-released/</link> <pubDate>Tue, 05 Nov 2024 00:00:00 +0000</pubDate><source url="https://mpusz.github.io/mp-units/HEAD/feed_rss_created.xml">mp-units</source><guid isPermaLink="true">https://mpusz.github.io/mp-units/HEAD/blog/2024/11/05/mp-units-240-released/</guid> <enclosure url="https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/11/05/mp-units-240-released.png" type="image/png" length="None" /> </item> <item> <title>International System of Quantities (ISQ): Part 5 - Benefits</title> <author>mpusz</author> <category>Metrology</category> <description><h1>International System of Quantities (ISQ): Part 5 - Benefits</h1><p>In the previous articles, we introduced the International System of Quantities, described how wecan model and implement it in a programming language, and presented the issues of software thatdoes not use such abstraction to implement a units library.</p><p>Some of the issues raised in <a href="isq-part-2-problems-when-isq-is-not-used.md">Part 2</a> of our serieswere addressed in <a href="isq-part-3-modeling-isq.md">Part 3</a> already. This article will presenthow our ISQ model elegantly addresses the remaining problems.</p></description><link>https://mpusz.github.io/mp-units/HEAD/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits/</link> <pubDate>Mon, 04 Nov 2024 00:00:00 +0000</pubDate><source url="https://mpusz.github.io/mp-units/HEAD/feed_rss_created.xml">mp-units</source><guid isPermaLink="true">https://mpusz.github.io/mp-units/HEAD/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits/</guid> <enclosure url="https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits.png" type="image/png" length="52662" /> </item> <item> <title>International System of Quantities (ISQ): Part 4 - Implementing ISQ</title> <author>mpusz</author> <category>Metrology</category> <description><h1>International System of Quantities (ISQ): Part 4 - Implementing ISQ</h1><p>Up until now, we have introduced the International System of Quantities and described how we canmodel its main aspects. This article will present how to implement those models in a programminglanguage, and we will point out some of the first issues that stand in our way.</p></description><link>https://mpusz.github.io/mp-units/HEAD/blog/2024/10/28/international-system-of-quantities-isq-part-4---implementing-isq/</link> <pubDate>Mon, 28 Oct 2024 00:00:00 +0000</pubDate><source url="https://mpusz.github.io/mp-units/HEAD/feed_rss_created.xml">mp-units</source><guid isPermaLink="true">https://mpusz.github.io/mp-units/HEAD/blog/2024/10/28/international-system-of-quantities-isq-part-4---implementing-isq/</guid> <enclosure url="https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/10/28/international-system-of-quantities-isq-part-4---implementing-isq.png" type="image/png" length="52633" /> </item> <item> <title>International System of Quantities (ISQ): Part 3 - Modeling ISQ</title> <author>mpusz</author> <category>Metrology</category> <description><h1>International System of QuantitiLine truncated
|
<?xml version="1.0" encoding="UTF-8" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel><title>mp-units</title><description>The quantities and units library for C++</description><link>https://mpusz.github.io/mp-units/HEAD/</link><atom:link href="https://mpusz.github.io/mp-units/HEAD/feed_rss_created.xml" rel="self" type="application/rss+xml" /><managingEditor>mp-units Team</managingEditor><docs>https://github.com/mpusz/mp-units</docs><language>en</language> <pubDate>Wed, 06 Nov 2024 17:57:19 -0000</pubDate> <lastBuildDate>Wed, 06 Nov 2024 17:57:19 -0000</lastBuildDate> <ttl>1440</ttl> <generator>MkDocs RSS plugin - v1.16.0</generator> <item> <title>mp-units 2.4.0 released!</title> <author>mpusz</author> <category>Releases</category> <description><h1>mp-units 2.4.0 released!</h1><p><strong>A new product version can be obtained from<a href="https://github.com/mpusz/mp-units/releases/tag/v2.4.0">GitHub</a> and<a href="https://conan.io/center/recipes/mp-units?version=2.4.0">Conan</a>.</strong></p><p>This release was unexpected. We planned a significant new feature to happen next, but whilepreparing for it, and also while writing API Reference documentation, we made so many vital fixesand improvements that we decided that they deserve a dedicated release first.</p><p>This post describes the most significant improvements while a much longer list of the changesintroduced by the new version can be found in our <a href="../../release_notes.md#2.4.0">Release Notes</a>.</p></description><link>https://mpusz.github.io/mp-units/HEAD/blog/2024/11/05/mp-units-240-released/</link> <pubDate>Tue, 05 Nov 2024 00:00:00 +0000</pubDate><source url="https://mpusz.github.io/mp-units/HEAD/feed_rss_created.xml">mp-units</source><guid isPermaLink="true">https://mpusz.github.io/mp-units/HEAD/blog/2024/11/05/mp-units-240-released/</guid> <enclosure url="https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/11/05/mp-units-240-released.png" type="image/png" length="None" /> </item> <item> <title>International System of Quantities (ISQ): Part 5 - Benefits</title> <author>mpusz</author> <category>Metrology</category> <description><h1>International System of Quantities (ISQ): Part 5 - Benefits</h1><p>In the previous articles, we introduced the International System of Quantities, described how wecan model and implement it in a programming language, and presented the issues of software thatdoes not use such abstraction to implement a units library.</p><p>Some of the issues raised in <a href="isq-part-2-problems-when-isq-is-not-used.md">Part 2</a> of our serieswere addressed in <a href="isq-part-3-modeling-isq.md">Part 3</a> already. This article will presenthow our ISQ model elegantly addresses the remaining problems.</p></description><link>https://mpusz.github.io/mp-units/HEAD/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits/</link> <pubDate>Mon, 04 Nov 2024 00:00:00 +0000</pubDate><source url="https://mpusz.github.io/mp-units/HEAD/feed_rss_created.xml">mp-units</source><guid isPermaLink="true">https://mpusz.github.io/mp-units/HEAD/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits/</guid> <enclosure url="https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits.png" type="image/png" length="None" /> </item> <item> <title>International System of Quantities (ISQ): Part 4 - Implementing ISQ</title> <author>mpusz</author> <category>Metrology</category> <description><h1>International System of Quantities (ISQ): Part 4 - Implementing ISQ</h1><p>Up until now, we have introduced the International System of Quantities and described how we canmodel its main aspects. This article will present how to implement those models in a programminglanguage, and we will point out some of the first issues that stand in our way.</p></description><link>https://mpusz.github.io/mp-units/HEAD/blog/2024/10/28/international-system-of-quantities-isq-part-4---implementing-isq/</link> <pubDate>Mon, 28 Oct 2024 00:00:00 +0000</pubDate><source url="https://mpusz.github.io/mp-units/HEAD/feed_rss_created.xml">mp-units</source><guid isPermaLink="true">https://mpusz.github.io/mp-units/HEAD/blog/2024/10/28/international-system-of-quantities-isq-part-4---implementing-isq/</guid> <enclosure url="https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/10/28/international-system-of-quantities-isq-part-4---implementing-isq.png" type="image/png" length="None" /> </item> <item> <title>International System of Quantities (ISQ): Part 3 - Modeling ISQ</title> <author>mpusz</author> <category>Metrology</category> <description><h1>International System of QuantitiesLine truncated
|
||||||
@@ -1 +1 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel><title>mp-units</title><description>The quantities and units library for C++</description><link>https://mpusz.github.io/mp-units/HEAD/</link><atom:link href="https://mpusz.github.io/mp-units/HEAD/feed_rss_updated.xml" rel="self" type="application/rss+xml" /><managingEditor>mp-units Team</managingEditor><docs>https://github.com/mpusz/mp-units</docs><language>en</language> <pubDate>Tue, 05 Nov 2024 18:53:40 -0000</pubDate> <lastBuildDate>Tue, 05 Nov 2024 18:53:40 -0000</lastBuildDate> <ttl>1440</ttl> <generator>MkDocs RSS plugin - v1.16.0</generator> <item> <title>mp-units 2.4.0 released!</title> <author>mpusz</author> <category>Releases</category> <description><h1>mp-units 2.4.0 released!</h1><p><strong>A new product version can be obtained from<a href="https://github.com/mpusz/mp-units/releases/tag/v2.4.0">GitHub</a> and<a href="https://conan.io/center/recipes/mp-units?version=2.4.0">Conan</a>.</strong></p><p>This release was unexpected. We planned a significant new feature to happen next, but whilepreparing for it, and also while writing API Reference documentation, we made so many vital fixesand improvements that we decided that they deserve a dedicated release first.</p><p>This post describes the most significant improvements while a much longer list of the changesintroduced by the new version can be found in our <a href="../../release_notes.md#2.4.0">Release Notes</a>.</p></description><link>https://mpusz.github.io/mp-units/HEAD/blog/2024/11/05/mp-units-240-released/</link> <pubDate>Tue, 05 Nov 2024 18:46:13 +0000</pubDate><source url="https://mpusz.github.io/mp-units/HEAD/feed_rss_updated.xml">mp-units</source><guid isPermaLink="true">https://mpusz.github.io/mp-units/HEAD/blog/2024/11/05/mp-units-240-released/</guid> <enclosure url="https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/11/05/mp-units-240-released.png" type="image/png" length="None" /> </item> <item> <title>International System of Quantities (ISQ): Part 5 - Benefits</title> <author>mpusz</author> <category>Metrology</category> <description><h1>International System of Quantities (ISQ): Part 5 - Benefits</h1><p>In the previous articles, we introduced the International System of Quantities, described how wecan model and implement it in a programming language, and presented the issues of software thatdoes not use such abstraction to implement a units library.</p><p>Some of the issues raised in <a href="isq-part-2-problems-when-isq-is-not-used.md">Part 2</a> of our serieswere addressed in <a href="isq-part-3-modeling-isq.md">Part 3</a> already. This article will presenthow our ISQ model elegantly addresses the remaining problems.</p></description><link>https://mpusz.github.io/mp-units/HEAD/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits/</link> <pubDate>Mon, 04 Nov 2024 10:58:01 +0000</pubDate><source url="https://mpusz.github.io/mp-units/HEAD/feed_rss_updated.xml">mp-units</source><guid isPermaLink="true">https://mpusz.github.io/mp-units/HEAD/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits/</guid> <enclosure url="https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/11/04/international-system-of-quantities-isq-part-5---benefits.png" type="image/png" length="52662" /> </item> <item> <title>International System of Quantities (ISQ): Part 1 - Introduction</title> <author>mpusz</author> <category>Metrology</category> <description><h1>International System of Quantities (ISQ): Part 1 - Introduction</h1><p>This post starts a series of articles about the International System of Quantities (ISQ).In this series, we will describe:</p><ul><li>What is ISQ?</li><li>Which engineering problems does ISQ help to solve and how?</li><li>How to model and implement it in the programming language?</li><li>What is missing in the ISQ, and why is that a problem?</li></ul></description><link>https://mpusz.github.io/mp-units/HEAD/blog/2024/10/07/international-system-of-quantities-isq-part-1---introduction/</link> <pubDate>Mon, 04 Nov 2024 09:53:32 +0000</pubDate><source url="https://mpusz.github.io/mp-units/HEAD/feed_rss_updated.xml">mp-units</source><guid isPermaLink="true">https://mpusz.github.io/mp-units/HEAD/blog/2024/10/07/international-system-of-quantities-isq-part-1---introduction/</guid> <enclosure url="https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/10/07/international-system-of-quantities-isq-part-1---introduction.png" type="image/png" length="52633" /> </item> <item> <title>International System of Quantities (ISQ): Part 2 - Problems wheLine truncated
|
<?xml version="1.0" encoding="UTF-8" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel><title>mp-units</title><description>The quantities and units library for C++</description><link>https://mpusz.github.io/mp-units/HEAD/</link><atom:link href="https://mpusz.github.io/mp-units/HEAD/feed_rss_updated.xml" rel="self" type="application/rss+xml" /><managingEditor>mp-units Team</managingEditor><docs>https://github.com/mpusz/mp-units</docs><language>en</language> <pubDate>Wed, 06 Nov 2024 17:57:19 -0000</pubDate> <lastBuildDate>Wed, 06 Nov 2024 17:57:19 -0000</lastBuildDate> <ttl>1440</ttl> <generator>MkDocs RSS plugin - v1.16.0</generator> <item> <title>International System of Quantities (ISQ): Part 3 - Modeling ISQ</title> <author>mpusz</author> <category>Metrology</category> <description><h1>International System of Quantities (ISQ): Part 3 - Modeling ISQ</h1><p>The physical units libraries on the market typically only focus on modeling one or more systemsof units. However, as we have learned, this is not the only system kind to model. Another,and maybe even more important, is a system of quantities. The most important example here isthe International System of Quantities (ISQ) defined by ISO/IEC 80000.</p><p>This article continues our series about the International System of Quantities. This time, we willlearn about the main ideas behind the ISQ and describe how it can be modelled in a programminglanguage.</p></description><link>https://mpusz.github.io/mp-units/HEAD/blog/2024/10/21/international-system-of-quantities-isq-part-3---modeling-isq/</link> <pubDate>Wed, 06 Nov 2024 17:30:51 +0000</pubDate><source url="https://mpusz.github.io/mp-units/HEAD/feed_rss_updated.xml">mp-units</source><guid isPermaLink="true">https://mpusz.github.io/mp-units/HEAD/blog/2024/10/21/international-system-of-quantities-isq-part-3---modeling-isq/</guid> <enclosure url="https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/10/21/international-system-of-quantities-isq-part-3---modeling-isq.png" type="image/png" length="None" /> </item> <item> <title>International System of Quantities (ISQ): Part 4 - Implementing ISQ</title> <author>mpusz</author> <category>Metrology</category> <description><h1>International System of Quantities (ISQ): Part 4 - Implementing ISQ</h1><p>Up until now, we have introduced the International System of Quantities and described how we canmodel its main aspects. This article will present how to implement those models in a programminglanguage, and we will point out some of the first issues that stand in our way.</p></description><link>https://mpusz.github.io/mp-units/HEAD/blog/2024/10/28/international-system-of-quantities-isq-part-4---implementing-isq/</link> <pubDate>Wed, 06 Nov 2024 17:30:51 +0000</pubDate><source url="https://mpusz.github.io/mp-units/HEAD/feed_rss_updated.xml">mp-units</source><guid isPermaLink="true">https://mpusz.github.io/mp-units/HEAD/blog/2024/10/28/international-system-of-quantities-isq-part-4---implementing-isq/</guid> <enclosure url="https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/10/28/international-system-of-quantities-isq-part-4---implementing-isq.png" type="image/png" length="None" /> </item> <item> <title>mp-units 2.4.0 released!</title> <author>mpusz</author> <category>Releases</category> <description><h1>mp-units 2.4.0 released!</h1><p><strong>A new product version can be obtained from<a href="https://github.com/mpusz/mp-units/releases/tag/v2.4.0">GitHub</a> and<a href="https://conan.io/center/recipes/mp-units?version=2.4.0">Conan</a>.</strong></p><p>This release was unexpected. We planned a significant new feature to happen next, but whilepreparing for it, and also while writing API Reference documentation, we made so many vital fixesand improvements that we decided that they deserve a dedicated release first.</p><p>This post describes the most significant improvements while a much longer list of the changesintroduced by the new version can be found in our <a href="../../release_notes.md#2.4.0">Release Notes</a>.</p></description><link>https://mpusz.github.io/mp-units/HEAD/blog/2024/11/05/mp-units-240-released/</link> <pubDate>Tue, 05 Nov 2024 18:46:13 +0000</pubDate><source url="https://mpusz.github.io/mp-units/HEAD/feed_rss_updated.xml">mp-units</source><guid isPermaLink="true">https://mpusz.github.io/mp-units/HEAD/blog/2024/11/05/mp-units-240-released/</guid> <enclosure url="https://mpusz.github.io/mp-units/HEADassets/images/social/blog/2024/11/05/mp-units-240-released.png" type="image/png" length="None" /> </item> <item> <title>International System of Quantities (ISQ): Part 5 - Benefits</title> <author>mpusz</author> <category>Metrology</category> <description><h1>International System of QuanLine truncated
|
||||||
@@ -1 +1 @@
|
|||||||
{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Welcome to mp-units!","text":"<p>mp-units is a compile-time enabled feature-rich Modern C++ modular/header-only library that provides compile-time dimensional analysis and unit/quantity manipulation. Its key strengths include safety, performance, and developer experience.</p> <p>The library source code is hosted on GitHub with a permissive MIT license.</p> Supported compilers <p>This library tries to provide the best user experience possible with the C++ language. To achieve that, it extensively uses the latest C++ language features.</p> <p>Even though the library benefits from the latest C++ versions (if available), C++20 is enough to compile and use all of the library's functionality.</p> <p>Please refer to C++ compiler support chapter for more details.</p> C++ modulesHeader files <pre><code>#include <iostream>\n#include <print>\nimport mp_units;\n\nusing namespace mp_units;\n\ninline constexpr struct smoot final : named_unit<\"smoot\", mag<67> * usc::inch> {} smoot;\n\nint main()\n{\n constexpr quantity dist = 364.4 * smoot;\n std::println(\"Harvard Bridge length = {::N[.1f]} ({::N[.1f]}, {::N[.2f]}) \u00b1 1 \u03b5ar\",\n dist, dist.in(usc::foot), dist.in(si::metre));\n}\n</code></pre> <pre><code>#include <mp-units/format.h>\n#include <mp-units/systems/si.h>\n#include <mp-units/systems/usc.h>\n#include <print>\n\nusing namespace mp_units;\n\ninline constexpr struct smoot final : named_unit<\"smoot\", mag<67> * usc::inch> {} smoot;\n\nint main()\n{\n constexpr quantity dist = 364.4 * smoot;\n std::println(\"Harvard Bridge length = {::N[.1f]} ({::N[.1f]}, {::N[.2f]}) \u00b1 1 \u03b5ar\",\n dist, dist.in(usc::foot), dist.in(si::metre));\n}\n</code></pre> <p>Output:</p> <pre><code>Harvard Bridge length = 364.4 smoot (2034.6 ft, 620.14 m) \u00b1 1 \u03b5ar\n</code></pre> <p>Try it on Compiler Explorer</p> What is <code>smoot</code>? <p>The smoot (/\u02c8smu\u02d0t/) is a nonstandard unit of length created as part of an MIT fraternity prank. It is named after Oliver R. Smoot, a fraternity pledge to Lambda Chi Alpha, who, in October 1958, lay on the Harvard Bridge (between Boston and Cambridge, Massachusetts) and was used by his fraternity brothers to measure the length of the bridge.</p> <p>One smoot equals Oliver Smoot's height at the time of the prank (five feet and seven inches). The bridge's length was measured to be 364.4 smoots plus or minus one ear, with the \"plus or minus\" intended to express the measurement uncertainty.</p> <p>Oliver Smoot graduated from MIT with the class of 1962, became a lawyer, and later became chairman of the American National Standards Institute (ANSI) and president of the International Organization for Standardization (ISO).</p> <p>More on the smoot unit of length can be found at https://en.wikipedia.org/wiki/Smoot.</p> <p>Important: Help needed!</p> <p>The mp-units library might be the subject of ISO standardization for C++29. More on this can be found in the following ISO C++ proposals:</p> <ul> <li>P1935: A C++ Approach to Physical Units,</li> <li>P2980: A motivation, scope, and plan for a physical quantities and units library,</li> <li>P3045: Quantities and units library.</li> </ul> <p>We are actively looking for parties interested in field-trialing the library.</p>"},{"location":"api_reference/","title":"API Reference - mp-units","text":""},{"location":"release_notes/","title":"Release Notes","text":""},{"location":"release_notes/#mp-units","title":"mp-units","text":""},{"location":"release_notes/#2.5.0","title":"2.5.0 WIP","text":""},{"location":"release_notes/#2.4.0","title":"2.4.0 November 5, 2024","text":"<ul> <li>(!) feat: <code>phase_velocity</code> and <code>group_velocity</code> aliases removed from ISQ by ISO</li> <li>feat: <code>iec::bit</code> using-declared in <code>iec::unit_symbols</code></li> <li>feat: common unit symbols now use <code>EQUIV{u1, u2, ...}</code> syntax</li> <li>feat: <code>scaled_unit</code> symbol printing improved (<code>[]</code> around the entire unit, small magnitude values do not use a power of <code>10</code> anymore)</li> <li>feat: <code>scaled_unit</code> does not have a priority over <code>derived_unit</code> anymore</li> <li>feat: fractional exponents support added to <code>mag_power</code></li> <li>feat: tag types are now required to be empty</li> <li>feat: magnitude text now obeys formatting parameters and knows how to print constants</li> <li>feat: added support for printing powers of magnitude constants</li> <li>feat: <code>SymbolicConstant</code> concept added</li> <li>feat: <code>common_unit</code> selection algorithm improved to make <code>rev + rad</code> return <code>rad</code></li> <li>feat: litre text symbol changed from <code>l</code> to <code>L</code> to avoid ambiguity with <code>1</code></li> <li>feat: alternativLine truncated
|
{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Welcome to mp-units!","text":"<p>mp-units is a compile-time enabled feature-rich Modern C++ modular/header-only library that provides compile-time dimensional analysis and unit/quantity manipulation. Its key strengths include safety, performance, and developer experience.</p> <p>The library source code is hosted on GitHub with a permissive MIT license.</p> Supported compilers <p>This library tries to provide the best user experience possible with the C++ language. To achieve that, it extensively uses the latest C++ language features.</p> <p>Even though the library benefits from the latest C++ versions (if available), C++20 is enough to compile and use all of the library's functionality.</p> <p>Please refer to C++ compiler support chapter for more details.</p> C++ modulesHeader files <pre><code>#include <iostream>\n#include <print>\nimport mp_units;\n\nusing namespace mp_units;\n\ninline constexpr struct smoot final : named_unit<\"smoot\", mag<67> * usc::inch> {} smoot;\n\nint main()\n{\n constexpr quantity dist = 364.4 * smoot;\n std::println(\"Harvard Bridge length = {::N[.1f]} ({::N[.1f]}, {::N[.2f]}) \u00b1 1 \u03b5ar\",\n dist, dist.in(usc::foot), dist.in(si::metre));\n}\n</code></pre> <pre><code>#include <mp-units/format.h>\n#include <mp-units/systems/si.h>\n#include <mp-units/systems/usc.h>\n#include <print>\n\nusing namespace mp_units;\n\ninline constexpr struct smoot final : named_unit<\"smoot\", mag<67> * usc::inch> {} smoot;\n\nint main()\n{\n constexpr quantity dist = 364.4 * smoot;\n std::println(\"Harvard Bridge length = {::N[.1f]} ({::N[.1f]}, {::N[.2f]}) \u00b1 1 \u03b5ar\",\n dist, dist.in(usc::foot), dist.in(si::metre));\n}\n</code></pre> <p>Output:</p> <pre><code>Harvard Bridge length = 364.4 smoot (2034.6 ft, 620.14 m) \u00b1 1 \u03b5ar\n</code></pre> <p>Try it on Compiler Explorer</p> What is <code>smoot</code>? <p>The smoot (/\u02c8smu\u02d0t/) is a nonstandard unit of length created as part of an MIT fraternity prank. It is named after Oliver R. Smoot, a fraternity pledge to Lambda Chi Alpha, who, in October 1958, lay on the Harvard Bridge (between Boston and Cambridge, Massachusetts) and was used by his fraternity brothers to measure the length of the bridge.</p> <p>One smoot equals Oliver Smoot's height at the time of the prank (five feet and seven inches). The bridge's length was measured to be 364.4 smoots plus or minus one ear, with the \"plus or minus\" intended to express the measurement uncertainty.</p> <p>Oliver Smoot graduated from MIT with the class of 1962, became a lawyer, and later became chairman of the American National Standards Institute (ANSI) and president of the International Organization for Standardization (ISO).</p> <p>More on the smoot unit of length can be found at https://en.wikipedia.org/wiki/Smoot.</p> <p>Important: Help needed!</p> <p>The mp-units library might be the subject of ISO standardization for C++29. More on this can be found in the following ISO C++ proposals:</p> <ul> <li>P1935: A C++ Approach to Physical Units,</li> <li>P2980: A motivation, scope, and plan for a physical quantities and units library,</li> <li>P3045: Quantities and units library.</li> </ul> <p>We are actively looking for parties interested in field-trialing the library.</p>"},{"location":"api_reference/","title":"API Reference - mp-units","text":""},{"location":"release_notes/","title":"Release Notes","text":""},{"location":"release_notes/#mp-units","title":"mp-units","text":""},{"location":"release_notes/#2.5.0","title":"2.5.0 WIP","text":""},{"location":"release_notes/#2.4.0","title":"2.4.0 November 5, 2024","text":"<ul> <li>(!) feat: <code>phase_velocity</code> and <code>group_velocity</code> aliases removed from ISQ by ISO</li> <li>feat: <code>iec::bit</code> using-declared in <code>iec::unit_symbols</code></li> <li>feat: common unit symbols now use <code>EQUIV{u1, u2, ...}</code> syntax</li> <li>feat: <code>scaled_unit</code> symbol printing improved (<code>[]</code> around the entire unit, small magnitude values do not use a power of <code>10</code> anymore)</li> <li>feat: <code>scaled_unit</code> does not have a priority over <code>derived_unit</code> anymore</li> <li>feat: fractional exponents support added to <code>mag_power</code></li> <li>feat: tag types are now required to be empty</li> <li>feat: magnitude text now obeys formatting parameters and knows how to print constants</li> <li>feat: added support for printing powers of magnitude constants</li> <li>feat: <code>SymbolicConstant</code> concept added</li> <li>feat: <code>common_unit</code> selection algorithm improved to make <code>rev + rad</code> return <code>rad</code></li> <li>feat: litre text symbol changed from <code>l</code> to <code>L</code> to avoid ambiguity with <code>1</code></li> <li>feat: alternativLine truncated
|
||||||
+65
-65
@@ -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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</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-05</lastmod>
|
<lastmod>2024-11-06</lastmod>
|
||||||
</url>
|
</url>
|
||||||
</urlset>
|
</urlset>
|
||||||
Binary file not shown.
@@ -2438,18 +2438,18 @@ enumeration can be appended to the <code>quantity_spec</code> describing such a
|
|||||||
<div class="tabbed-set tabbed-alternate" data-tabs="1:3"><input checked="checked" id="__tabbed_1_1" name="__tabbed_1" type="radio" /><input id="__tabbed_1_2" name="__tabbed_1" type="radio" /><input id="__tabbed_1_3" name="__tabbed_1" type="radio" /><div class="tabbed-labels"><label for="__tabbed_1_1">C++23</label><label for="__tabbed_1_2">C++20</label><label for="__tabbed_1_3">Portable</label></div>
|
<div class="tabbed-set tabbed-alternate" data-tabs="1:3"><input checked="checked" id="__tabbed_1_1" name="__tabbed_1" type="radio" /><input id="__tabbed_1_2" name="__tabbed_1" type="radio" /><input id="__tabbed_1_3" name="__tabbed_1" type="radio" /><div class="tabbed-labels"><label for="__tabbed_1_1">C++23</label><label for="__tabbed_1_2">C++20</label><label for="__tabbed_1_3">Portable</label></div>
|
||||||
<div class="tabbed-content">
|
<div class="tabbed-content">
|
||||||
<div class="tabbed-block">
|
<div class="tabbed-block">
|
||||||
<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="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">position_vector</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">position_vector</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="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">displacement</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">displacement</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="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">displacement</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">displacement</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="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">position_vector</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">displacement</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">position_vector</span><span class="p">;</span>
|
||||||
</span></code></pre></div>
|
</span></code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabbed-block">
|
<div class="tabbed-block">
|
||||||
<div class="language-cpp highlight"><pre><span></span><code><span id="__span-1-1"><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">position_vector</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">position_vector</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">position_vector</span><span class="p">;</span>
|
<div class="language-cpp highlight"><pre><span></span><code><span id="__span-1-1"><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">displacement</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">displacement</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">displacement</span><span class="p">;</span>
|
||||||
</span><span id="__span-1-2"><a id="__codelineno-1-2" name="__codelineno-1-2" href="#__codelineno-1-2"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">displacement</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">displacement</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">displacement</span><span class="p">;</span>
|
</span><span id="__span-1-2"><a id="__codelineno-1-2" name="__codelineno-1-2" href="#__codelineno-1-2"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">position_vector</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">position_vector</span><span class="p">,</span><span class="w"> </span><span class="n">displacement</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">position_vector</span><span class="p">;</span>
|
||||||
</span></code></pre></div>
|
</span></code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabbed-block">
|
<div class="tabbed-block">
|
||||||
<div class="language-cpp highlight"><pre><span></span><code><span id="__span-2-1"><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">position_vector</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="p">);</span>
|
<div class="language-cpp highlight"><pre><span></span><code><span id="__span-2-1"><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">displacement</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="p">);</span>
|
||||||
</span><span id="__span-2-2"><a id="__codelineno-2-2" name="__codelineno-2-2" href="#__codelineno-2-2"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">displacement</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="p">);</span>
|
</span><span id="__span-2-2"><a id="__codelineno-2-2" name="__codelineno-2-2" href="#__codelineno-2-2"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">position_vector</span><span class="p">,</span><span class="w"> </span><span class="n">displacement</span><span class="p">);</span>
|
||||||
</span></code></pre></div>
|
</span></code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -2463,15 +2463,15 @@ character override is needed):</p>
|
|||||||
<div class="tabbed-set tabbed-alternate" data-tabs="2:3"><input checked="checked" id="__tabbed_2_1" name="__tabbed_2" type="radio" /><input id="__tabbed_2_2" name="__tabbed_2" type="radio" /><input id="__tabbed_2_3" name="__tabbed_2" type="radio" /><div class="tabbed-labels"><label for="__tabbed_2_1">C++23</label><label for="__tabbed_2_2">C++20</label><label for="__tabbed_2_3">Portable</label></div>
|
<div class="tabbed-set tabbed-alternate" data-tabs="2:3"><input checked="checked" id="__tabbed_2_1" name="__tabbed_2" type="radio" /><input id="__tabbed_2_2" name="__tabbed_2" type="radio" /><input id="__tabbed_2_3" name="__tabbed_2" type="radio" /><div class="tabbed-labels"><label for="__tabbed_2_1">C++23</label><label for="__tabbed_2_2">C++20</label><label for="__tabbed_2_3">Portable</label></div>
|
||||||
<div class="tabbed-content">
|
<div class="tabbed-content">
|
||||||
<div class="tabbed-block">
|
<div class="tabbed-block">
|
||||||
<div class="language-cpp highlight"><pre><span></span><code><span id="__span-3-1"><a id="__codelineno-3-1" name="__codelineno-3-1" href="#__codelineno-3-1"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">velocity</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">speed</span><span class="p">,</span><span class="w"> </span><span class="n">position_vector</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="n">duration</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">velocity</span><span class="p">;</span>
|
<div class="language-cpp highlight"><pre><span></span><code><span id="__span-3-1"><a id="__codelineno-3-1" name="__codelineno-3-1" href="#__codelineno-3-1"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">velocity</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">speed</span><span class="p">,</span><span class="w"> </span><span class="n">displacement</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="n">duration</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">velocity</span><span class="p">;</span>
|
||||||
</span></code></pre></div>
|
</span></code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabbed-block">
|
<div class="tabbed-block">
|
||||||
<div class="language-cpp highlight"><pre><span></span><code><span id="__span-4-1"><a id="__codelineno-4-1" name="__codelineno-4-1" href="#__codelineno-4-1"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">velocity</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">velocity</span><span class="p">,</span><span class="w"> </span><span class="n">speed</span><span class="p">,</span><span class="w"> </span><span class="n">position_vector</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="n">duration</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">velocity</span><span class="p">;</span>
|
<div class="language-cpp highlight"><pre><span></span><code><span id="__span-4-1"><a id="__codelineno-4-1" name="__codelineno-4-1" href="#__codelineno-4-1"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">velocity</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">velocity</span><span class="p">,</span><span class="w"> </span><span class="n">speed</span><span class="p">,</span><span class="w"> </span><span class="n">displacement</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="n">duration</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">velocity</span><span class="p">;</span>
|
||||||
</span></code></pre></div>
|
</span></code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabbed-block">
|
<div class="tabbed-block">
|
||||||
<div class="language-cpp highlight"><pre><span></span><code><span id="__span-5-1"><a id="__codelineno-5-1" name="__codelineno-5-1" href="#__codelineno-5-1"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">velocity</span><span class="p">,</span><span class="w"> </span><span class="n">speed</span><span class="p">,</span><span class="w"> </span><span class="n">position_vector</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="n">duration</span><span class="p">);</span>
|
<div class="language-cpp highlight"><pre><span></span><code><span id="__span-5-1"><a id="__codelineno-5-1" name="__codelineno-5-1" href="#__codelineno-5-1"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">velocity</span><span class="p">,</span><span class="w"> </span><span class="n">speed</span><span class="p">,</span><span class="w"> </span><span class="n">displacement</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="n">duration</span><span class="p">);</span>
|
||||||
</span></code></pre></div>
|
</span></code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2383,8 +2383,8 @@ form a hierarchy of quantities of the same kind.</p>
|
|||||||
path_length --- distance["<b>distance</b>"]
|
path_length --- distance["<b>distance</b>"]
|
||||||
distance --- radial_distance["<b>radial_distance</b>"]
|
distance --- radial_distance["<b>radial_distance</b>"]
|
||||||
length --- wavelength["<b>wavelength</b>"]
|
length --- wavelength["<b>wavelength</b>"]
|
||||||
length --- position_vector["<b>position_vector</b><br>{vector}"]
|
|
||||||
length --- displacement["<b>displacement</b><br>{vector}"]
|
length --- displacement["<b>displacement</b><br>{vector}"]
|
||||||
|
displacement --- position_vector["<b>position_vector</b>"]
|
||||||
radius --- radius_of_curvature["<b>radius_of_curvature</b>"]</code></pre>
|
radius --- radius_of_curvature["<b>radius_of_curvature</b>"]</code></pre>
|
||||||
<p>Each of the above quantities expresses some kind of <em>length</em>, and each can be measured with <code>si::metre</code>.
|
<p>Each of the above quantities expresses some kind of <em>length</em>, and each can be measured with <code>si::metre</code>.
|
||||||
However, each of them has different properties, usage, and sometimes even requires a different
|
However, each of them has different properties, usage, and sometimes even requires a different
|
||||||
@@ -2427,8 +2427,8 @@ chapter.</p>
|
|||||||
</span><span id="__span-2-13"><a id="__codelineno-2-13" name="__codelineno-2-13" href="#__codelineno-2-13"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">distance</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">path_length</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">distance</span><span class="p">;</span>
|
</span><span id="__span-2-13"><a id="__codelineno-2-13" name="__codelineno-2-13" href="#__codelineno-2-13"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">distance</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">path_length</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">distance</span><span class="p">;</span>
|
||||||
</span><span id="__span-2-14"><a id="__codelineno-2-14" name="__codelineno-2-14" href="#__codelineno-2-14"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">radial_distance</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">distance</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">radial_distance</span><span class="p">;</span>
|
</span><span id="__span-2-14"><a id="__codelineno-2-14" name="__codelineno-2-14" href="#__codelineno-2-14"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">radial_distance</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">distance</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">radial_distance</span><span class="p">;</span>
|
||||||
</span><span id="__span-2-15"><a id="__codelineno-2-15" name="__codelineno-2-15" href="#__codelineno-2-15"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">wavelength</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">length</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">wavelength</span><span class="p">;</span>
|
</span><span id="__span-2-15"><a id="__codelineno-2-15" name="__codelineno-2-15" href="#__codelineno-2-15"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">wavelength</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">length</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">wavelength</span><span class="p">;</span>
|
||||||
</span><span id="__span-2-16"><a id="__codelineno-2-16" name="__codelineno-2-16" href="#__codelineno-2-16"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">position_vector</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">position_vector</span><span class="p">;</span>
|
</span><span id="__span-2-16"><a id="__codelineno-2-16" name="__codelineno-2-16" href="#__codelineno-2-16"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">displacement</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">displacement</span><span class="p">;</span>
|
||||||
</span><span id="__span-2-17"><a id="__codelineno-2-17" name="__codelineno-2-17" href="#__codelineno-2-17"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">displacement</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">displacement</span><span class="p">;</span>
|
</span><span id="__span-2-17"><a id="__codelineno-2-17" name="__codelineno-2-17" href="#__codelineno-2-17"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">position_vector</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">displacement</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">position_vector</span><span class="p">;</span>
|
||||||
</span></code></pre></div>
|
</span></code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabbed-block">
|
<div class="tabbed-block">
|
||||||
@@ -2447,8 +2447,8 @@ chapter.</p>
|
|||||||
</span><span id="__span-3-13"><a id="__codelineno-3-13" name="__codelineno-3-13" href="#__codelineno-3-13"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">distance</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">distance</span><span class="p">,</span><span class="w"> </span><span class="n">path_length</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">distance</span><span class="p">;</span>
|
</span><span id="__span-3-13"><a id="__codelineno-3-13" name="__codelineno-3-13" href="#__codelineno-3-13"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">distance</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">distance</span><span class="p">,</span><span class="w"> </span><span class="n">path_length</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">distance</span><span class="p">;</span>
|
||||||
</span><span id="__span-3-14"><a id="__codelineno-3-14" name="__codelineno-3-14" href="#__codelineno-3-14"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">radial_distance</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">radial_distance</span><span class="p">,</span><span class="w"> </span><span class="n">distance</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">radial_distance</span><span class="p">;</span>
|
</span><span id="__span-3-14"><a id="__codelineno-3-14" name="__codelineno-3-14" href="#__codelineno-3-14"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">radial_distance</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">radial_distance</span><span class="p">,</span><span class="w"> </span><span class="n">distance</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">radial_distance</span><span class="p">;</span>
|
||||||
</span><span id="__span-3-15"><a id="__codelineno-3-15" name="__codelineno-3-15" href="#__codelineno-3-15"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">wavelength</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">wavelength</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">wavelength</span><span class="p">;</span>
|
</span><span id="__span-3-15"><a id="__codelineno-3-15" name="__codelineno-3-15" href="#__codelineno-3-15"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">wavelength</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">wavelength</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">wavelength</span><span class="p">;</span>
|
||||||
</span><span id="__span-3-16"><a id="__codelineno-3-16" name="__codelineno-3-16" href="#__codelineno-3-16"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">position_vector</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">position_vector</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">position_vector</span><span class="p">;</span>
|
</span><span id="__span-3-16"><a id="__codelineno-3-16" name="__codelineno-3-16" href="#__codelineno-3-16"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">displacement</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">displacement</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">displacement</span><span class="p">;</span>
|
||||||
</span><span id="__span-3-17"><a id="__codelineno-3-17" name="__codelineno-3-17" href="#__codelineno-3-17"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">displacement</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">displacement</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">displacement</span><span class="p">;</span>
|
</span><span id="__span-3-17"><a id="__codelineno-3-17" name="__codelineno-3-17" href="#__codelineno-3-17"></a><span class="kr">inline</span><span class="w"> </span><span class="k">constexpr</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">position_vector</span><span class="w"> </span><span class="k">final</span><span class="w"> </span><span class="o">:</span><span class="w"> </span><span class="n">quantity_spec</span><span class="o"><</span><span class="n">position_vector</span><span class="p">,</span><span class="w"> </span><span class="n">displacement</span><span class="o">></span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="n">position_vector</span><span class="p">;</span>
|
||||||
</span></code></pre></div>
|
</span></code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabbed-block">
|
<div class="tabbed-block">
|
||||||
@@ -2467,8 +2467,8 @@ chapter.</p>
|
|||||||
</span><span id="__span-4-13"><a id="__codelineno-4-13" name="__codelineno-4-13" href="#__codelineno-4-13"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">distance</span><span class="p">,</span><span class="w"> </span><span class="n">path_length</span><span class="p">);</span>
|
</span><span id="__span-4-13"><a id="__codelineno-4-13" name="__codelineno-4-13" href="#__codelineno-4-13"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">distance</span><span class="p">,</span><span class="w"> </span><span class="n">path_length</span><span class="p">);</span>
|
||||||
</span><span id="__span-4-14"><a id="__codelineno-4-14" name="__codelineno-4-14" href="#__codelineno-4-14"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">radial_distance</span><span class="p">,</span><span class="w"> </span><span class="n">distance</span><span class="p">);</span>
|
</span><span id="__span-4-14"><a id="__codelineno-4-14" name="__codelineno-4-14" href="#__codelineno-4-14"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">radial_distance</span><span class="p">,</span><span class="w"> </span><span class="n">distance</span><span class="p">);</span>
|
||||||
</span><span id="__span-4-15"><a id="__codelineno-4-15" name="__codelineno-4-15" href="#__codelineno-4-15"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">wavelength</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="p">);</span>
|
</span><span id="__span-4-15"><a id="__codelineno-4-15" name="__codelineno-4-15" href="#__codelineno-4-15"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">wavelength</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="p">);</span>
|
||||||
</span><span id="__span-4-16"><a id="__codelineno-4-16" name="__codelineno-4-16" href="#__codelineno-4-16"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">position_vector</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="p">);</span>
|
</span><span id="__span-4-16"><a id="__codelineno-4-16" name="__codelineno-4-16" href="#__codelineno-4-16"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">displacement</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="p">);</span>
|
||||||
</span><span id="__span-4-17"><a id="__codelineno-4-17" name="__codelineno-4-17" href="#__codelineno-4-17"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">displacement</span><span class="p">,</span><span class="w"> </span><span class="n">length</span><span class="p">,</span><span class="w"> </span><span class="n">quantity_character</span><span class="o">::</span><span class="n">vector</span><span class="p">);</span>
|
</span><span id="__span-4-17"><a id="__codelineno-4-17" name="__codelineno-4-17" href="#__codelineno-4-17"></a><span class="n">QUANTITY_SPEC</span><span class="p">(</span><span class="n">position_vector</span><span class="p">,</span><span class="w"> </span><span class="n">displacement</span><span class="p">);</span>
|
||||||
</span></code></pre></div>
|
</span></code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user