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<=>
|
|
Défini dans l'en-tête
<chrono>
|
||
|
bool
operator
==
(
const
std::
chrono
::
time_zone_link
&
x,
const std:: chrono :: time_zone_link & y ) noexcept ; |
(1) | (depuis C++20) |
|
std::
strong_ordering
operator
<=>
(
const
std::
chrono
::
time_zone_link
&
x,
const std:: chrono :: time_zone_link & y ) noexcept ; |
(2) | (depuis C++20) |
Compare les deux valeurs
time_zone_link
x
et
y
par nom.
Les opérateurs
<
,
<=
,
>
,
>=
et
!=
sont
synthétisés
respectivement à partir de
operator
<=>
et
operator
==
.
Valeur de retour
1)
x.
name
(
)
==
y.
name
(
)
2)
x.
name
(
)
<=>
y.
name
(
)