xo-unit: move types: xo::obs:: -> xo::unit::
This commit is contained in:
parent
06a7e938e4
commit
7e61533caf
14 changed files with 147 additions and 114 deletions
|
|
@ -5,7 +5,7 @@
|
|||
#include <concepts>
|
||||
|
||||
namespace xo {
|
||||
namespace obs {
|
||||
namespace unit {
|
||||
template <typename Quantity>
|
||||
concept quantity_concept = requires(Quantity qty, typename Quantity::repr_type repr)
|
||||
{
|
||||
|
|
@ -17,5 +17,5 @@ namespace xo {
|
|||
{ Quantity::unit_quantity() } -> std::same_as<Quantity>;
|
||||
{ Quantity::promote(repr) } -> std::same_as<Quantity>;
|
||||
};
|
||||
} /*namespace obs*/
|
||||
} /*namespace unit*/
|
||||
} /*namespace xo*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue