mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07:16 +02:00
refactor: "expression templates" renamed to "symbolic expressions"
This commit is contained in:
@ -159,7 +159,7 @@ The above prints:
|
||||
|
||||
Some users could expect to see `42 kWh` or `42 kW h` in the output. It is not the case and for
|
||||
a very good reason. As stated in
|
||||
[Simplifying the resulting expression templates](../users_guide/framework_basics/interface_introduction.md#simplifying-the-resulting-expression-templates),
|
||||
[Simplifying the resulting symbolic expressions](../users_guide/framework_basics/interface_introduction.md#simplifying-the-resulting-symbolic-expressions),
|
||||
to be able to reason about and simplify units, the library needs to order them in an appropriate
|
||||
order.
|
||||
|
||||
|
@ -35,7 +35,7 @@ To achieve this goal, several techniques are applied:
|
||||
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),
|
||||
- [usage of expression templates](../users_guide/framework_basics/interface_introduction.md#expression-templates) to improve the readability of generated types,
|
||||
- [usage of symbolic expressions](../users_guide/framework_basics/interface_introduction.md#symbolic-expressions) to improve the readability of generated types,
|
||||
- limiting the number of template arguments to the bare minimum.
|
||||
|
||||
!!! important "Important: It is all about errors"
|
||||
|
Reference in New Issue
Block a user