xo-unit: quantity_concept: + req concept sat for nested types
This commit is contained in:
parent
b4c3ba4dda
commit
2cea0d3dfa
1 changed files with 2 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ namespace xo {
|
|||
{ Quantity::unit_cstr() } -> std::same_as<char const *>;
|
||||
{ Quantity::unit_quantity() } -> std::same_as<Quantity>;
|
||||
{ Quantity::promote(repr) } -> std::same_as<Quantity>;
|
||||
};
|
||||
} && (unit_concept<typename Quantity::unit_type>
|
||||
&& numeric_concept<typename Quantity::repr_type>);
|
||||
} /*namespace unit*/
|
||||
} /*namespace xo*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue