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.
[编辑] 另請參閱
| [靜態的] </ SPAN></div></div>
|
returns the special duration value zero (公共靜態成員函數) |
| [靜態的] </ SPAN></div></div>
|
返回的時間值最小 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. (公共靜態成員函數) |