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, chaotic::convert::
To
<
double
>) {
13
return
value.count();
14
}
15
16
}
// namespace chaotic::convert
17
18
USERVER_NAMESPACE_END
userver
chaotic
io
std
chrono
duration.hpp
Generated on Wed Dec 4 2024 18:42:56 for userver by
Doxygen
1.10.0