std::chrono::duration::max
Материал из 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. |
| static constexpr duration max(); |
||
Returns a duration with the largest possible value.
If the representation rep of the duration requires some other implementation to return a maximum-length duration, std::chrono::duration_values can be specialized to return the desired value.
[править] Параметры
(Нет)
Original:
(none)
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.
[править] Возвращаемое значение
возвращается std::chrono::duration(std::chrono::duration_values<rep>::max())
Original:
returns std::chrono::duration(std::chrono::duration_values<rep>::max())
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.
[править] См. также
| [static] |
returns the special duration value zero (public static функция-член) |
| [static] |
возвращает специальное минимальное значение длительности Original: returns the special duration value min The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (public static функция-член) |