std::chrono:: operator==,<=> (std::chrono::time_zone)
From cppreference.net
C++
Date and time library
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::chrono::time_zone
| Member functions | ||||
| Nonmember functions | ||||
|
operator==
operator<=>
|
|
ヘッダー
<chrono>
で定義
|
||
|
bool
operator
==
(
const
std::
chrono
::
time_zone
&
x,
const std:: chrono :: time_zone & y ) noexcept ; |
(1) | (C++20以降) |
|
std::
strong_ordering
operator
<=>
(
const
std::
chrono
::
time_zone
&
x,
const std:: chrono :: time_zone & y ) noexcept ; |
(2) | (C++20以降) |
2つの
time_zone
値
x
と
y
を名前で比較します。
<
、
<=
、
>
、
>=
、および
!=
演算子は、
それぞれ
operator
<=>
と
operator
==
から合成されます。
戻り値
1)
x.
name
(
)
==
y.
name
(
)
2)
x.
name
(
)
<=>
y.
name
(
)