acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
_.h
1
// Created by camilo on 2021-10-05 12:54 BRT <3ThomasBorregaardSorensen!![ THE ONE GOD ]
2
#pragma once
3
4
5
//#include "acme/prototype/time/time.h"
6
7
8
//template < typename DURATION >
9
//inline bool integral_time<DURATION>::operator == (const class time & time) const { return class ::time(*this) == time; }
10
//
11
//template < typename DURATION >
12
//inline bool integral_time<DURATION>::operator < (const class time & time) const { return class ::time(*this) < time; }
13
//
14
//template < typename DURATION >
15
//inline bool integral_time<DURATION>::operator <= (const class time & time) const { return class ::time(*this) <= time; }
16
//
17
//template < typename DURATION >
18
//inline bool integral_time<DURATION>::operator > (const class time & time) const { return class ::time(*this) > time; }
19
//
20
//template < typename DURATION >
21
//inline bool integral_time<DURATION>::operator >= (const class time & time) const { return class ::time(*this) >= time; }
22
//
23
//template < typename DURATION >
24
//inline bool integral_time<DURATION>::operator != (const class time & time) const { return class ::time(*this) != time; }
25
26
27
//#define COMPARISON_WITH_DURATION(TYPE) \
28
//inline bool operator == (const TYPE & t, const class time & time) { return class ::time(t) == time; } \
29
//inline bool operator < (const TYPE & t, const class time & time) { return class ::time(t) < time; } \
30
//inline bool operator <= (const TYPE & t, const class time & time) { return class ::time(t) <= time; } \
31
//inline bool operator > (const TYPE & t, const class time & time) { return class ::time(t) > time; } \
32
//inline bool operator >= (const TYPE & t, const class time & time) { return class ::time(t) >= time; } \
33
//inline bool operator != (const TYPE & t, const class time & time) { return class ::time(t) != time; }
34
35
36
37
//template < typename DURATION >
38
//inline bool floating_time<DURATION>::operator == (const class time & time) const { return class ::time(*this) == time; }
39
//
40
//template < typename DURATION >
41
//inline bool floating_time<DURATION>::operator < (const class time & time) const { return class ::time(*this) < time; }
42
//
43
//template < typename DURATION >
44
//inline bool floating_time<DURATION>::operator <= (const class time & time) const { return class ::time(*this) <= time; }
45
//
46
//template < typename DURATION >
47
//inline bool floating_time<DURATION>::operator > (const class time & time) const { return class ::time(*this) > time; }
48
//
49
//template < typename DURATION >
50
//inline bool floating_time<DURATION>::operator >= (const class time & time) const { return class ::time(*this) >= time; }
51
//
52
//template < typename DURATION >
53
//inline bool floating_time<DURATION>::operator != (const class time & time) const { return class ::time(*this) != time; }
54
55
56
57
//#include "nanosecond.h"
58
//#include "microsecond.h"
59
//#include "millisecond.h"
60
//
61
//
62
//#include "second.h"
63
//
64
//
65
//#include "minute.h"
66
//#include "hour.h"
67
//#include "day.h"
68
69
70
prototype
time
_.h
Generated by
1.17.0