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
|
|
@ -2,10 +2,11 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "stringliteral.hpp"
|
||||
|
||||
namespace xo {
|
||||
namespace obs {
|
||||
namespace unit {
|
||||
enum class dim {
|
||||
/** weight. native unit = 1 gram **/
|
||||
mass,
|
||||
|
|
@ -52,8 +53,7 @@ namespace xo {
|
|||
|
||||
template <dim Dim>
|
||||
constexpr auto native_unit_for_v = native_unit_for<Dim>::value;
|
||||
} /*namespace obs*/
|
||||
} /*namespace unit*/
|
||||
} /*namespace xo*/
|
||||
|
||||
|
||||
/* end dim_util.hpp */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue