From 488653602d0636a1fa5ef6e64cabb9b903dce42a Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Fri, 25 Aug 2023 10:10:51 +0200 Subject: Renamed src folder to c++ --- c++/time/second.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 c++/time/second.h (limited to 'c++/time/second.h') diff --git a/c++/time/second.h b/c++/time/second.h new file mode 100644 index 0000000..6dca456 --- /dev/null +++ b/c++/time/second.h @@ -0,0 +1,15 @@ +#pragma once + +#include "../unit.h" + +namespace kel { +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