forked from mpusz/mp-units
docs: project documentation updated with the latest unit-related changes
This commit is contained in:
@@ -8,10 +8,6 @@ Concepts
|
||||
All names defined in this chapter reside in the :any:`units` namespace unless
|
||||
specified otherwise.
|
||||
|
||||
.. concept:: template<typename T> PrefixFamily
|
||||
|
||||
A concept matching a prefix family. Satisfied by all types derived from :class:`prefix_family`.
|
||||
|
||||
.. concept:: template<typename T> Prefix
|
||||
|
||||
A concept matching a symbol prefix. Satisfied by all instantiations of :struct:`prefix`.
|
||||
@@ -44,6 +40,11 @@ Concepts
|
||||
A concept matching all unit types in the library. Satisfied by all unit types derived
|
||||
from the instantiation of :class:`scaled_unit`.
|
||||
|
||||
.. concept:: template<typename T> NamedUnit
|
||||
|
||||
A concept matching all unit types that have an atomic text symbol that can be used to aggregate it with
|
||||
other named units to form a final symbol of a derived unit.
|
||||
|
||||
.. concept:: template<typename U, typename D> UnitOf
|
||||
|
||||
A concept matching only units of a specified dimension. Satisfied by all unit types that
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
Prefixes
|
||||
========
|
||||
|
||||
.. doxygenstruct:: units::prefix_family
|
||||
:members:
|
||||
|
||||
.. doxygenstruct:: units::no_prefix
|
||||
:members:
|
||||
|
||||
.. doxygenstruct:: units::prefix
|
||||
:members:
|
||||
|
||||
@@ -4,9 +4,6 @@ Units
|
||||
.. doxygenstruct:: units::scaled_unit
|
||||
:members:
|
||||
|
||||
.. doxygenstruct:: units::unit
|
||||
:members:
|
||||
|
||||
.. doxygenstruct:: units::named_unit
|
||||
:members:
|
||||
|
||||
@@ -19,7 +16,7 @@ Units
|
||||
.. doxygenstruct:: units::derived_unit
|
||||
:members:
|
||||
|
||||
.. doxygenstruct:: units::named_derived_unit
|
||||
.. doxygenstruct:: units::derived_scaled_unit
|
||||
:members:
|
||||
|
||||
.. doxygenstruct:: units::alias_unit
|
||||
|
||||
Reference in New Issue
Block a user