Namespaces
Variants

std:: common_type <std::chrono::time_point>

From cppreference.net
template < class Clock, class Duration1, class Duration2 >

struct common_type < std:: chrono :: time_point < Clock, Duration1 > ,

std:: chrono :: time_point < Clock, Duration2 >> ;
(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 특성의 특수화
(클래스 템플릿 특수화)
여러 타입들의 공통 타입을 결정함
(클래스 템플릿)