std::common_type(std::chrono::time_point)
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<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; }; |
(dal C++11) | |
Espone il tipo denominato
type, che è il tipo comune di due std::chrono::time_points.Original:
Exposes the type named
type, which is the common type of two std::chrono::time_points.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Note
Il tipo comune di due tipi std::chrono::time_point è un std::chrono::time_point con lo stesso clock i due tipi e delle loro durate std::common_type.
Original:
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.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Esempio
| This section is incomplete Reason: no example |