Пространства имён
Варианты
Действия

std::chrono::duration::zero

Материал из cppreference.com

 
 
 
 
std::chrono::duration
Член функций
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
duration::duration
duration::operator=
duration::count
duration::zero
duration::min
duration::max
duration::operator+
duration::operator-
duration::operator++
duration::operator--
duration::operator+=
duration::operator-=
duration::operator*=
duration::operator/=
duration::operator%=
Не являющиеся членами функций
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
common_type
operator+
operator-
operator*
operator/
operator%
operator==
operator!=
operator<
operator<=
operator>
operator>=
duration_cast
Вспомогательные классы
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
treat_as_floating_point
duration_values
 
static constexpr duration zero();
Возвращает нулевой длины продолжительности.
Original:
Returns a zero-length duration.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Если представление rep продолжительности требует некоторых других осуществлении вернуть нулевой длины продолжительности, std::chrono::duration_values могут быть специализированы, чтобы вернуть нужное значение.
Original:
If the representation rep of the duration requires some other implementation to return a zero-length duration, std::chrono::duration_values can be specialized to return the desired value.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[править] Параметры

(Нет)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[править] Возвращаемое значение

возвращается std::chrono::duration(std::chrono::duration_values<rep>::zero())
Original:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[править] См. также

[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 функция-член) [edit]
[static]
возвращает специальный максимальное значение продолжительности
Original:
returns the special duration value max
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static функция-член) [edit]