std::chrono:: operator==,<=> (std::chrono::time_zone_link)
From cppreference.net
<
cpp
|
chrono
|
time zone link
C++
Date and time library
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::chrono::time_zone_link
| Member functions | ||||
| Nonmember functions | ||||
|
operator==
operator<=>
|
|
Definiert im Header
<chrono>
|
||
|
bool
operator
==
(
const
std::
chrono
::
time_zone_link
&
x,
const std:: chrono :: time_zone_link & y ) noexcept ; |
(1) | (seit C++20) |
|
std::
strong_ordering
operator
<=>
(
const
std::
chrono
::
time_zone_link
&
x,
const std:: chrono :: time_zone_link & y ) noexcept ; |
(2) | (seit C++20) |
Vergleicht die beiden
time_zone_link
Werte
x
und
y
anhand ihrer Namen.
Die
<
-,
<=
-,
>
-,
>=
- und
!=
-Operatoren werden
synthetisiert
aus
operator
<=>
beziehungsweise
operator
==
.
Rückgabewert
1)
x.
name
(
)
==
y.
name
(
)
2)
x.
name
(
)
<=>
y.
name
(
)