docs: "Design Overview" chapter added and "Concepts" chapter reworked

This commit is contained in:
Mateusz Pusz
2023-10-31 09:45:42 +01:00
parent ebc5757835
commit 3dba9416cb
9 changed files with 409 additions and 182 deletions

View File

@@ -98,7 +98,7 @@ to form a quantity.
The same applies to the `quantity_point` construction. To prevent similar issues during
construction, it always needs to get both a `quantity` and
a [`PointOrigin`](../users_guide/framework_basics/basic_concepts.md#PointOrigin) that we use
a [`PointOrigin`](../users_guide/framework_basics/concepts.md#PointOrigin) that we use
as a reference point.
@@ -156,7 +156,7 @@ code.
!!! note
In case you have a good idea of how to rename
[existing concepts](../users_guide/framework_basics/basic_concepts.md) to the `standard_case`,
[existing concepts](../users_guide/framework_basics/concepts.md) to the `standard_case`,
please let us know in the associated [GitHub Issue](https://github.com/mpusz/mp-units/issues/93).

View File

@@ -31,7 +31,7 @@ errors and debugging as easy and user-friendly as possible.
To achieve this goal, several techniques are applied:
- [usage of C++20 concepts](../users_guide/framework_basics/basic_concepts.md) that improve
- [usage of C++20 concepts](../users_guide/framework_basics/concepts.md) that improve
compile-times and the readability of error messages when compared to the traditional template
metaprogramming with [SFINAE](https://en.cppreference.com/w/cpp/language/sfinae),
- [usage of strong types for framework entities](../users_guide/framework_basics/interface_introduction.md#strong-types-instead-of-aliases) (instead of type aliases),