mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 18:37:15 +02:00
docs: CRTP full name fixed
This commit is contained in:
@ -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
|
||||
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
|
||||
point origin. This change allows us to provide different names for the same temperature points:
|
||||
|
@ -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
|
||||
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:
|
||||
|
||||
|
@ -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
|
||||
the hood.
|
||||
|
||||
*[CRTP]: Curiously Recurring Template Pattern
|
||||
*[CRTP]: Curiously Recurring Template Parameter
|
||||
|
||||
### `MP_UNITS_STD_FMT`
|
||||
|
||||
|
Reference in New Issue
Block a user