Development
Miscellaneous development notes for xo-unit.
Addding a Basis Unit
To add a basis unit for an existing dimension:
add unit definition to the
xo::qty::bu
namespace ininclude/xo/unit/basis_unit.hpp
add call to
bu_store::bu_establish_abbrev()
frombu_store::bu_store
.add
natural_unit
definition toxo::qty::nu
namespace ininclude/xo/unit/natural_unit.hpp
add
scaled_unit
definition toxo::qty::u
namespace ininclude/xo/unit/scaled_unit.hpp
.add unit quantity to
xo::qty::qty
namespace ininclude/xo/unit/quantity.hpp
add factory function to
xo::qty::qty
namespace ininclude/xo/unit/quantity.hpp