blob: 0d9fb3bc3f568a97e8ab8cb3c280a852e28b4cdb (
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 kel {
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_component<unit_type::meter,1>>;
template<typename S>
using square_meter = unit<S,unit_component<unit_type::meter,2>>;
}
|