From 3be2ae868746f2fc09f69e667e18b838cef82be9 Mon Sep 17 00:00:00 2001 From: Claudius Holeksa Date: Fri, 19 May 2023 02:34:39 +0200 Subject: Initial commit with copying the unit lib --- src/kelunit/distance/meter.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/kelunit/distance/meter.h (limited to 'src/kelunit/distance/meter.h') diff --git a/src/kelunit/distance/meter.h b/src/kelunit/distance/meter.h new file mode 100644 index 0000000..57ca58e --- /dev/null +++ b/src/kelunit/distance/meter.h @@ -0,0 +1,20 @@ +#pragma once + +#include "../unit.h" + +#include + +namespace kelun { +namespace unit_type { +struct meter{ + static constexpr std::string_view name = "meter"; + static constexpr std::string_view short_name = "m"; +}; +} + +template +using meter = unit>; + +template +using square_meter = unit>; +} -- cgit v1.2.3