docs: Documentation now prefers refrences over UDLs
This commit is contained in:
1 parent
7cc34646b9
commit
c4e9ff7f66
12 files changed
+211
-175
No files matched your search
@@ -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::
|
||||
|
||||
Reference in new issue
Block a user