std::common_type(std::chrono::time_point)
提供: cppreference.com
<tbody>
</tbody>
template <class Clock, class Duration1, class Duration2> struct common_type<std::chrono::time_point<Clock, Duration1>, std::chrono::time_point<Clock, Duration2>> { typedef std::chrono::time_point< Clock, typename std::common_type<Duration1, Duration2>::type> type; }; |
(C++11以上) | |
2つの std::chrono::time_point の共通型となるメンバ型 type を提供します。
ノート
2つの std::chrono::time_point の共通型は、2つの型と同じ時計と、それらの duration の std::common_type を持つ、 std::chrono::time_point です。
例
| This section is incomplete Reason: no example |
関連項目
(C++11) |
指定された型のグループの共通型を調べます (クラステンプレート) |