xo-unit: + repr argument to stdquantity
This commit is contained in:
parent
4263144614
commit
83424e1ee3
3 changed files with 6 additions and 5 deletions
|
|
@ -157,8 +157,9 @@ namespace xo {
|
|||
Repr scale_ = Repr{};
|
||||
};
|
||||
|
||||
template <natural_unit<::std::int64_t> NaturalUnit = natural_unit<::std::int64_t>()>
|
||||
using stdquantity = xo::qty::quantity<double, ::std::int64_t, NaturalUnit>;
|
||||
template <typename Repr = double,
|
||||
natural_unit<std::int64_t> NaturalUnit = natural_unit<std::int64_t>()>
|
||||
using stdquantity = quantity<Repr, std::int64_t, NaturalUnit>;
|
||||
|
||||
template <typename Quantity, typename Int, typename Int2x>
|
||||
constexpr auto
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue