2020-03-09 18:55:41 +01:00
|
|
|
Welcome to mp-units!
|
|
|
|
|
====================
|
|
|
|
|
|
|
|
|
|
**mp-units** is a compile-time enabled Modern C++ library that provides compile-time dimensional
|
|
|
|
|
analysis and unit/quantity manipulation. Source code is hosted on `GitHub <https://github.com/mpusz/units>`_
|
|
|
|
|
with a permissive `MIT license <https://github.com/mpusz/units/blob/master/LICENSE.md>`_.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. important::
|
|
|
|
|
|
2020-11-05 13:06:20 +01:00
|
|
|
The **mp-units** library is the subject of ISO standardization for C++23/26. More on this can
|
|
|
|
|
be found in ISO C++ paper `P1935 <https://wg21.link/p1935>`_ and
|
|
|
|
|
`CppCon 2020 talk <https://www.youtube.com/watch?v=7dExYGSOJzo>`_. We are actively looking for
|
|
|
|
|
parties interested in field trialing the library.
|
2020-03-09 18:55:41 +01:00
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
2021-03-15 22:08:12 +01:00
|
|
|
This library targets C++23/26 and extensively uses C++20 features. This is why it requires the latest C++
|
|
|
|
|
compilers. The following compilers (or newer) are supported:
|
|
|
|
|
|
|
|
|
|
- gcc-10
|
|
|
|
|
- clang-12
|
|
|
|
|
- Visual Studio 16.9
|
2020-03-09 18:55:41 +01:00
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
:maxdepth: 2
|
|
|
|
|
:caption: Getting Started:
|
|
|
|
|
|
|
|
|
|
introduction
|
|
|
|
|
quick_start
|
|
|
|
|
framework
|
2020-03-19 14:45:59 +01:00
|
|
|
use_cases
|
2020-03-09 18:55:41 +01:00
|
|
|
design
|
|
|
|
|
examples
|
2021-04-02 18:47:54 +02:00
|
|
|
usage
|
2020-03-09 18:55:41 +01:00
|
|
|
faq
|
|
|
|
|
|
|
|
|
|
.. toctree::
|
2020-05-28 14:22:14 +02:00
|
|
|
:maxdepth: 2
|
2020-03-09 18:55:41 +01:00
|
|
|
:caption: Reference:
|
|
|
|
|
|
2020-05-28 14:22:14 +02:00
|
|
|
reference/core
|
2020-03-09 18:55:41 +01:00
|
|
|
reference/systems
|
2020-05-28 14:22:14 +02:00
|
|
|
reference/math
|
|
|
|
|
reference/random
|
2020-03-09 18:55:41 +01:00
|
|
|
|
2020-05-14 11:10:06 +02:00
|
|
|
.. note::
|
|
|
|
|
|
|
|
|
|
Source code documentation tools used to generate the above chapter still do not understand
|
|
|
|
|
C++20 to well which results in some issues in the generated output. We do our best to address
|
|
|
|
|
this ASAP.
|
|
|
|
|
|
2020-03-09 18:55:41 +01:00
|
|
|
.. toctree::
|
|
|
|
|
:maxdepth: 1
|
|
|
|
|
:caption: Appendix:
|
|
|
|
|
|
|
|
|
|
glossary
|
|
|
|
|
genindex
|
|
|
|
|
CHANGELOG
|
2020-09-08 20:04:29 +02:00
|
|
|
references
|