Skip to content

Commit

Permalink
xo-unit: docs: comment tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Rconybea committed Apr 18, 2024
1 parent eea10d8 commit b56cd3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion include/xo/unit/dim_util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace xo {
* (1usd + 1eur) is well-defined, but (1sec + 1m) is not.
**/
currency,
/** a screen price. dimensionless **/
/** a screen price **/
price,
};

Expand Down
6 changes: 1 addition & 5 deletions include/xo/unit/numeric_concept.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@ namespace xo {
*
* Intended to include at least:
* - built-in integral and floating-point types
* - boost::rational<U>
* - std::complex<U>
* - xo::raio<U>
* - xo::unit::quantity<U,R>
*
* This implies we don't require T to be totally ordered,
* and don't require (<,<=,>=,>) operators.
*
* Intend numeric_concept to apply to types suitable for
* xo::unit::quantity::repr_type.
**/
Expand Down

0 comments on commit b56cd3e

Please sign in to comment.