xo-unit: minor tidy
This commit is contained in:
parent
1cc5dd80d2
commit
a6496a970e
1 changed files with 3 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
namespace xo {
|
||||
namespace qty {
|
||||
/** @class quantity
|
||||
/** @class Quantity
|
||||
* @brief represent a scalar quantity with attached units. enforce dimensional consistency.
|
||||
*
|
||||
* Constexpr implementation, but units are explicitly represented:
|
||||
|
|
@ -20,6 +20,8 @@ namespace xo {
|
|||
* Explicit unit representation allows introducing units at runtime,
|
||||
* for example in python bindings
|
||||
*
|
||||
* See xo::qty::quantity<> for implementation with units established at compile time
|
||||
*
|
||||
* Require:
|
||||
* - Repr supports numeric operations (+, -, *, /)
|
||||
* - Repr supports conversion from double.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue