docs: Documentation now prefers refrences over UDLs

This commit is contained in:
Mateusz Pusz committed 2021-04-02 13:11:20 +02:00
1 parent 7cc34646b9
commit c4e9ff7f66
12 files changed
+211 -175

No files matched your search

+1 -1
View File
@@ -130,7 +130,7 @@ coherent unit::
With the above we can now check what is the production rate::
DeskRate auto rate = quantity_cast<desk_per_hour>(3._d / 20_q_min);
DeskRate auto rate = quantity_cast<desk_per_hour>(3._d / (20 * min));
std::cout << "Desk rate: " << rate << '\n'; // prints 'Desk rate: 9 desk/h'
and how much wood is being consumed over a unit of time::