C++
应用 | Utilities

std::common_type(std::chrono::time_point)

性病:普通[医]类型%28 std::rono::time[医]点%29

template struct common_type, std::chrono::time_point> { typedef std::chrono::time_point< Clock, typename std::common_type::type> type; };(since C++11)

公开名为type,这是两种常见的类型。std::chrono::time_pointS.

注记

两种常见类型std::chrono::time_point类型是std::chrono::time_point具有与这两种类型相同的时钟和std::common_type他们的持续时间。

另见

common_type (C++11)determines the common type of a group of types (class template)

© cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

http://en.cppreference.com/w/cpp/crono/time[医]点/共同[医]类型