mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 21:24:27 +02:00
docs: quantity_point documentation fixed
This commit is contained in:
@@ -124,6 +124,7 @@ add_custom_command(OUTPUT "${SPHINX_INDEX_FILE}"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/reference/core/types/dimensions.rst"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/reference/core/types/prefixes.rst"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/reference/core/types/quantity.rst"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/reference/core/types/quantity_point.rst"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/reference/core/types/units.rst"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/reference/core/types/utilities.rst"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/reference/core/types/utilities/basic_fixed_string.rst"
|
||||
|
@@ -3,7 +3,7 @@
|
||||
Quantity Points
|
||||
===============
|
||||
|
||||
A :term:`quantity point` is an absolute quantity with respect to zero
|
||||
A `quantity point` is an absolute quantity with respect to zero
|
||||
(which represents some origin) and is represented in the library with a
|
||||
`quantity_point` class template.
|
||||
|
||||
|
@@ -73,3 +73,8 @@ Concepts
|
||||
the elements of `ratio`), :expr:`T * T` and :expr:`T / T` must be valid,
|
||||
- otherwise, :expr:`T * std::int64_t`, :expr:`std::int64_t * T`, and :expr:`T / std::int64_t`
|
||||
must be valid.
|
||||
|
||||
.. concept:: template<typename T> QuantityPoint
|
||||
|
||||
A concept matching all quantity points in the library. Satisfied by all instantiations of
|
||||
:class:`quantity_point`.
|
||||
|
@@ -5,6 +5,7 @@ Types
|
||||
:maxdepth: 1
|
||||
|
||||
types/quantity
|
||||
types/quantity_point
|
||||
types/dimensions
|
||||
types/units
|
||||
types/prefixes
|
||||
|
6
docs/reference/core/types/quantity_point.rst
Normal file
6
docs/reference/core/types/quantity_point.rst
Normal file
@@ -0,0 +1,6 @@
|
||||
Quantity Point
|
||||
==============
|
||||
|
||||
.. doxygenclass:: units::quantity_point
|
||||
:members:
|
||||
:undoc-members:
|
Reference in New Issue
Block a user