std::chrono:: operator==,<=> (std::chrono::time_zone)
From ja.cppreference.net
|
ヘッダー
<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
(
)