blob: 57ca58e7ed24541b009f36a894a61a376bd712f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "../unit.h"
#include <string_view>
namespace kelun {
namespace unit_type {
struct meter{
static constexpr std::string_view name = "meter";
static constexpr std::string_view short_name = "m";
};
}
template<typename S>
using meter = unit<S,unit_base<unit_type::meter,1>>;
template<typename S>
using square_meter = unit<S,unit_base<unit_type::meter,2>>;
}
|