userver
C++ Async Framework
Loading...
Searching...
No Matches
duration.hpp
1
#
pragma
once
2
3
#
include
<
chrono
>
4
5
#
include
<
userver
/
chaotic
/
convert
.
hpp
>
6
7
USERVER_NAMESPACE_BEGIN
8
9
namespace
chaotic::convert {
10
11
template
<
typename
Period>
12
double
Convert(
const
std::chrono::duration<
double
, Period>& value,
13
chaotic::convert::
To
<
double
>) {
14
return
value.count();
15
}
16
17
}
// namespace chaotic::convert
18
19
USERVER_NAMESPACE_END
userver
chaotic
io
std
chrono
duration.hpp
Generated on Thu Sep 5 2024 11:15:19 for userver by
Doxygen
1.10.0