From 700cde2d499742160deb361f42b7e861ae1db8ed Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Mon, 29 Jul 2024 14:18:30 +0200 Subject: Renaming to new standard --- c++/distance/meter.h | 20 -------------------- c++/distance/meter.hpp | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 c++/distance/meter.h create mode 100644 c++/distance/meter.hpp (limited to 'c++/distance') diff --git a/c++/distance/meter.h b/c++/distance/meter.h deleted file mode 100644 index 0d9fb3b..0000000 --- a/c++/distance/meter.h +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once - -#include "../unit.h" - -#include - -namespace kel { -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>; -} diff --git a/c++/distance/meter.hpp b/c++/distance/meter.hpp new file mode 100644 index 0000000..0d9fb3b --- /dev/null +++ b/c++/distance/meter.hpp @@ -0,0 +1,20 @@ +#pragma once + +#include "../unit.h" + +#include + +namespace kel { +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