SI
2.5.4
A header only c++ library that provides type safety and user defined literals for handling physical values defined in the International System of Units.
SI
flow.h
Go to the documentation of this file.
1
12
#pragma once
13
14
#include "
detail/operator_helpers.h
"
15
16
#include "
area.h
"
17
#include "
time.h
"
18
19
namespace
SI
{
20
21
template
<
typename
_type,
typename
_ratio>
22
using
surface_flow_t
=
detail::unit_t<'s', std::ratio<1>
, _type, _ratio>;
23
24
namespace
detail {
25
BUILD_UNIT_FROM_DIVISION
(
surface_flow_t
,
area_t
,
time_t
)
26
27
}
28
29
template
<
typename
_type,
typename
_ratio>
30
using
volumetric_flow_t
=
detail::unit_t<'V', std::ratio<1>
, _type, _ratio>;
31
32
namespace
detail {
33
BUILD_UNIT_FROM_DIVISION
(
volumetric_flow_t
,
volume_t
,
time_t
)
34
35
}
36
37
}
// namespace SI
area.h
SI::detail::BUILD_UNIT_FROM_DIVISION
BUILD_UNIT_FROM_DIVISION(electric_conductance_t, electric_current_t, electric_potential_t) template< typename _type
SI
Definition:
absorbed_dose.h:18
operator_helpers.h
SI::detail::unit_t
base template class for holding values of type _type to be multiplied with a ratio _ratio
Definition:
unit.h:51
time.h
Generated by
1.9.1