std::common_type(std::chrono::duration)
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. |
template <class Rep1, class Period1, class Rep2, class Period2> struct common_type<std::chrono::duration<Rep1, Period1>, |
(dal C++11) | |
Espone il tipo denominato
type
, che è il tipo comune di due std::chrono::durations.Original:
Exposes the type named
type
, which is the common type of two std::chrono::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.
[modifica] Nota
The period the resulting duration is the greatest common divisor of Period1
and Period2
.
[modifica] Esempio
This section is incomplete Reason: no example |