From 2cea0d3dfa896010d14280c9e40f61ef0ac789cd Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Fri, 5 Apr 2024 01:37:29 -0400 Subject: [PATCH] xo-unit: quantity_concept: + req concept sat for nested types --- include/xo/unit/quantity_concept.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/xo/unit/quantity_concept.hpp b/include/xo/unit/quantity_concept.hpp index 1235a277..1edb2c59 100644 --- a/include/xo/unit/quantity_concept.hpp +++ b/include/xo/unit/quantity_concept.hpp @@ -17,6 +17,7 @@ namespace xo { { Quantity::unit_cstr() } -> std::same_as; { Quantity::unit_quantity() } -> std::same_as; { Quantity::promote(repr) } -> std::same_as; - }; + } && (unit_concept + && numeric_concept); } /*namespace unit*/ } /*namespace xo*/