From b56cd3e39028d99b9013fdd018b3fa49531c6c62 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Wed, 17 Apr 2024 20:52:31 -0400 Subject: [PATCH] xo-unit: docs: comment tweaks --- include/xo/unit/dim_util.hpp | 2 +- include/xo/unit/numeric_concept.hpp | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/include/xo/unit/dim_util.hpp b/include/xo/unit/dim_util.hpp index ad2f3496..0f84b956 100644 --- a/include/xo/unit/dim_util.hpp +++ b/include/xo/unit/dim_util.hpp @@ -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, }; diff --git a/include/xo/unit/numeric_concept.hpp b/include/xo/unit/numeric_concept.hpp index 720099a3..f1d32f58 100644 --- a/include/xo/unit/numeric_concept.hpp +++ b/include/xo/unit/numeric_concept.hpp @@ -11,13 +11,9 @@ namespace xo { * * Intended to include at least: * - built-in integral and floating-point types - * - boost::rational - * - std::complex + * - xo::raio * - xo::unit::quantity * - * 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. **/