forked from CleverRaven/Cataclysm-DDA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunits_fwd.h
51 lines (34 loc) · 767 Bytes
/
units_fwd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#pragma once
#ifndef CATA_SRC_UNITS_FWD_H
#define CATA_SRC_UNITS_FWD_H
#include <cstdint>
namespace units
{
template<typename V, typename U>
class quantity;
class volume_in_milliliter_tag
{
};
using volume = quantity<int, volume_in_milliliter_tag>;
class mass_in_milligram_tag
{
};
using mass = quantity<std::int64_t, mass_in_milligram_tag>;
class energy_in_millijoule_tag
{
};
using energy = quantity<std::int64_t, energy_in_millijoule_tag>;
class money_in_cent_tag
{
};
using money = quantity<int, money_in_cent_tag>;
class length_in_millimeter_tag
{
};
using length = quantity<int, length_in_millimeter_tag>;
class angle_in_radians_tag
{
};
using angle = quantity<double, angle_in_radians_tag>;
} // namespace units
#endif // CATA_SRC_UNITS_FWD_H