From d7ea576d2a19256a6c83434e9882718d2a686e01 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Tue, 7 May 2024 10:40:50 -0400 Subject: [PATCH] xo-unit: scaled_unit: add several milling units [wip] --- include/xo/unit/scaled_unit.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/xo/unit/scaled_unit.hpp b/include/xo/unit/scaled_unit.hpp index a7e286df..35ac028e 100644 --- a/include/xo/unit/scaled_unit.hpp +++ b/include/xo/unit/scaled_unit.hpp @@ -48,11 +48,17 @@ namespace xo { namespace su { constexpr auto nanogram = detail::make_unit_rescale_result(nu::nanogram); constexpr auto microgram = detail::make_unit_rescale_result(nu::microgram); + constexpr auto milligram = detail::make_unit_rescale_result(nu::milligram); + constexpr auto gram = detail::make_unit_rescale_result(nu::gram); + constexpr auto kilogram = detail::make_unit_rescale_result(nu::kilogram); + constexpr auto millimeter = detail::make_unit_rescale_result(nu::millimeter); constexpr auto meter = detail::make_unit_rescale_result(nu::meter); + constexpr auto kilometer = detail::make_unit_rescale_result(nu::kilometer); constexpr auto millisecond = detail::make_unit_rescale_result(nu::millisecond); constexpr auto second = detail::make_unit_rescale_result(nu::second); + constexpr auto minute = detail::make_unit_rescale_result(nu::minute); } namespace detail {