On this page
std::common_type<std::chrono::time_point>
|
(since C++11) |
Exposes the type named type
, which is the common type of two std::chrono::time_point
s.
Notes
The common type of two std::chrono::time_point
types is a std::chrono::time_point
with the same clock as the two types and the std::common_type
of their durations.
Example
See also
(C++11)
|
specializes the std::common_type trait (class template specialization) |
(C++11)
|
determines the common type of a group of types (class template) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/chrono/time_point/common_type