docs: CRTP full name fixed

This commit is contained in:
Mateusz Pusz
2024-02-22 11:23:22 +01:00
parent a907bcdcfd
commit f38c5ef3cf
3 changed files with 3 additions and 3 deletions

View File

@ -138,7 +138,7 @@ confusing and limiting. This is why, in this version, the `absolute_point_origin
to be able to detect between points that should be considered different from the ones that should to be able to detect between points that should be considered different from the ones that should
be equivalent. be equivalent.
*[CRTP]: Curiously Recurring Template Pattern *[CRTP]: Curiously Recurring Template Parameter
If we derive from the same instantiation of `absolute_point_origin` we end up with an equivalent If we derive from the same instantiation of `absolute_point_origin` we end up with an equivalent
point origin. This change allows us to provide different names for the same temperature points: point origin. This change allows us to provide different names for the same temperature points:

View File

@ -136,7 +136,7 @@ from such an instantiation.
is provided and used consistently through the library to allow the code to compile with C++20 is provided and used consistently through the library to allow the code to compile with C++20
compilers, thanks to the CRTP usage under the hood. compilers, thanks to the CRTP usage under the hood.
*[CRTP]: Curiously Recurring Template Pattern *[CRTP]: Curiously Recurring Template Parameter
For example, here is how the above quantity kind tree can be modeled in the library: For example, here is how the above quantity kind tree can be modeled in the library:

View File

@ -145,7 +145,7 @@ added in C++23 to remove the need for CRTP idiom, which significantly simplifies
This macro benefits from the new C++23 feature if available. Otherwise, it uses the CRTP idiom under This macro benefits from the new C++23 feature if available. Otherwise, it uses the CRTP idiom under
the hood. the hood.
*[CRTP]: Curiously Recurring Template Pattern *[CRTP]: Curiously Recurring Template Parameter
### `MP_UNITS_STD_FMT` ### `MP_UNITS_STD_FMT`