std::common_type(std::chrono::duration)
De 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>, | (depuis C++11) | |
Expose le type nommé
type
, qui est le type commun de deux 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.
[modifier]Note
The period the resulting duration is the greatest common divisor of Period1
and Period2
.
[modifier]Exemple
This section is incomplete Reason: no example |