std:: common_type <std::chrono::time_point>
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
|
(C++20)
(C++20)
|
||||
| Non-member functions | ||||
|
(until C++20)
(C++20)
|
||||
|
(C++17)
|
||||
|
(C++17)
|
||||
|
(C++17)
|
||||
| Helper classes | ||||
|
common_type
|
||||
|
(C++26)
|
|
template
<
class
Clock,
class
Duration1,
class
Duration2
>
struct
common_type
<
std::
chrono
::
time_point
<
Clock, Duration1
>
,
|
(C++11 이후) | |
두 개의
std::chrono::time_point
의 공통 타입인
type
을 노출합니다.
목차 |
멤버 타입
| 멤버 타입 | 정의 |
type
|
std:: chrono :: time_point < Clock, typename std:: common_type < Duration1, Duration2 > :: type > |
참고 사항
두 std::chrono::time_point 타입의 공통 타입은 두 타입과 동일한 클록을 가지며, 그들의 지속 시간의 std::common_type 을 지속 시간으로 갖는 std::chrono::time_point 입니다.
예제
|
이 섹션은 불완전합니다
이유: 예시가 없음 |
참고 항목
|
std::common_type
특성의 특수화
(클래스 템플릿 특수화) |
|
|
(C++11)
|
여러 타입들의 공통 타입을 결정함
(클래스 템플릿) |