std::common_type(std::chrono::duration)
Da cppreference.com
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
template<class Rep1, class Period1, class Rep2, class Period2> struct common_type<std::chrono::duration<Rep1, Period1>, | (desde C++11) | |
Expõe o tipo nomeado
type
, que é o tipo comum de dois 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.
[editar]Nota
The period the resulting duration is the greatest common divisor of Period1
and Period2
.
[editar]Exemplo
Esta seção está incompleta Motivo: sem exemplo |