xtd 0.2.0
time_span.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../time_span.hpp"
6
8namespace xtd {
10 inline namespace literals {
12
25 xtd::time_span operator""_h(unsigned long long h);
26
38 xtd::time_span operator""_m(unsigned long long m);
39
51 xtd::time_span operator""_min(unsigned long long min);
52
64 xtd::time_span operator""_ms(unsigned long long ms);
65
77 xtd::time_span operator""_ns(unsigned long long ns);
78
90 xtd::time_span operator""_s(unsigned long long s);
91
103 xtd::time_span operator""_t(unsigned long long t);
104
116 xtd::time_span operator""_us(unsigned long long us);
117
129 xtd::time_span operator""_ts(const char* s, xtd::size n);
130
142 xtd::time_span operator""_ts(const char8* s, xtd::size n);
143
155 xtd::time_span operator""_ts(const char16* s, xtd::size n);
156
168 xtd::time_span operator""_ts(const char32* s, xtd::size n);
169
181 xtd::time_span operator""_ts(const wchar* s, xtd::size n);
183 }
184}
Represents a time interval.
Definition time_span.hpp:29
size_t size
Represents a size of any object in bytes.
Definition size.hpp:23
char8_t char8
Represents a 8-bit unicode character.
Definition char8.hpp:26
wchar_t wchar
Represents a wide character.
Definition wchar.hpp:24
char16_t char16
Represents a 16-bit unicode character.
Definition char16.hpp:26
char32_t char32
Represents a 32-bit unicode character.
Definition char32.hpp:23
@ s
The S key.
Definition console_key.hpp:124
@ h
The H key.
Definition console_key.hpp:102
@ m
The M key.
Definition console_key.hpp:112
@ n
The N key.
Definition console_key.hpp:114
@ t
The T key.
Definition console_key.hpp:126
The xtd::literals namespace contains all xtd's litterals operators.
Definition character_literals.hpp:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::time_span class.