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/time/second.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/kelunit/time/second.h (limited to 'src/kelunit/time/second.h') diff --git a/src/kelunit/time/second.h b/src/kelunit/time/second.h new file mode 100644 index 0000000..07145ca --- /dev/null +++ b/src/kelunit/time/second.h @@ -0,0 +1,15 @@ +#pragma once + +#include "../unit.h" + +namespace kelun { +namespace unit_type { +struct second{ + static constexpr std::string_view name = "second"; + static constexpr std::string_view short_name = "s"; +}; +} + +template +using second = unit>; +} -- cgit v1.2.3