Iros
Loading...
Searching...
No Matches
clock.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
di/meta/constexpr.h
"
4
#include "
di/meta/core.h
"
5
6
namespace
di::concepts
{
7
template
<
typename
T>
8
concept
Clock
=
requires
{
9
typename
T::Representation;
10
typename
T::Period;
11
typename
T::Duration;
12
typename
T::TimePoint;
13
T::is_steady;
14
typename
meta::Constexpr<T::is_steady>
;
15
{ T::now() } ->
SameAs<typename T::TimePoint>
;
16
};
17
}
18
19
namespace
di
{
20
using
concepts::Clock
;
21
}
di::concepts::Clock
Definition
clock.h:8
di::concepts::SameAs
Definition
core.h:114
constexpr.h
core.h
di::concepts
Definition
any_storable.h:9
di
Definition
zstring_parser.h:9
di::meta::Constexpr
A wrapper for a constexpr value.
Definition
core.h:77
libs
di
include
di
chrono
concepts
clock.h
Generated by
1.13.0