Iros
Loading...
Searching...
No Matches
time_point_common_type.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
di/chrono/concepts/clock.h
"
4
#include "
di/chrono/duration/duration_common_type.h
"
5
#include "
di/chrono/time_point/time_point_forward_declaration.h
"
6
7
namespace
di
{
8
template
<concepts::Clock Clock,
typename
D1,
typename
D2>
9
requires
(
concepts::CommonWith<D1, D2>
)
10
struct
meta::CustomCommonType
<
chrono::TimePoint<Clock, D1>
,
chrono::TimePoint<Clock, D2>
> {
11
using
Type
=
chrono::TimePoint<Clock, meta::CommonType<D1, D2>
>;
12
};
13
}
di::chrono::TimePoint
Definition
time_point_forward_declaration.h:8
clock.h
di::concepts::CommonWith
Definition
common.h:208
duration_common_type.h
di
Definition
zstring_parser.h:9
di::meta::CustomCommonType
Definition
common.h:13
di::meta::CustomCommonType< chrono::TimePoint< Clock, D1 >, chrono::TimePoint< Clock, D2 > >::Type
chrono::TimePoint< Clock, meta::CommonType< D1, D2 > > Type
Definition
time_point_common_type.h:11
time_point_forward_declaration.h
libs
di
include
di
chrono
time_point
time_point_common_type.h
Generated by
1.13.0