std::chrono:: operator== (std::chrono::zoned_time)
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Nonmember functions | ||||
|
operator==
|
||||
| Helper classes | ||||
|
(C++26)
|
||||
| Deduction guides |
|
헤더 파일에 정의됨
<chrono>
|
||
|
template
<
class
Duration1,
class
Duration2,
class
TimeZonePtr
>
bool
operator
==
(
const
std::
chrono
::
zoned_time
<
Duration1, TimeZonePtr
>
&
x,
|
(C++20부터) | |
두
zoned_time
값을 비교합니다
x
와
y
. 두
zoned_time
객체는 시간 포인트와 시간대 포인터가 모두
operator==
에 따라 동일하게 비교될 경우 동등한 것으로 비교됩니다.
!=
연산자는
합성된
operator==
로부터 생성됩니다.
반환값
x. get_time_zone ( ) == y. get_time_zone ( ) && x. get_sys_time ( ) == y. get_sys_time ( ) 와 동일하지만, 비교가 x 와 y 의 비정적 데이터 멤버에 대해 직접 수행되며 복사가 이루어지지 않습니다.