Skip to content

Commit

Permalink
docs: CRTP full name fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Feb 22, 2024
1 parent a907bcd commit f38c5ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/blog/posts/2.1.0-released.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/users_guide/framework_basics/systems_of_quantities.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion docs/users_guide/use_cases/wide_compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down

0 comments on commit f38c5ef

Please sign in to comment.