class template
<chrono>

std::chrono::common_type (time_point)

template <class Clock, class Duration1, class Duration2>class common_type<chrono::time_point<Clock, Duration1>, chrono::time_point<Clock, Duration2>>;
Specialization of common_type for time_point
This is a specialization of the standard traits class common_type. It defines the common type of two time_point types that use the same clock type using the common type of their two durations.

Template parameters

Clock
The clock used by both time_point types.
Duration1, Duration22
The duration types of the time_point types.

Member types

member typedefinition
typeThe time_point common type.