description | title | ms.date | f1_keywords | helpviewer_keywords | dev_langs | |||
---|---|---|---|---|---|---|---|---|
Learn more about: common_type Structure |
common_type Structure |
11/04/2016 |
|
|
|
Describes specializations of class template common_type
for instantiations of duration
and time_point
.
template <class Rep1, class Period1,
class Rep2, class Period2>
struct common_type
<chrono::duration<Rep1, Period1>,
chrono::duration<Rep2, Period2>>;
template <class Clock,
class Duration1, class Duration2>
struct common_type
<chrono::time_point<Clock, Duration1>,
chrono::time_point<Clock, Duration2>>;
Header: <chrono>
Namespace: std