名前空間
変種
操作

std::chrono::treat_as_floating_point

提供: cppreference.com
< cpp‎ | chrono

 
 
 
 
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
 
Defined in header <chrono>
template <class Rep>
struct treat_as_floating_point : std::is_floating_point<Rep> {};
(C++11およびそれ以降)
std::chrono::treat_as_floating_point形質は持続時間が異なるダニ期間と別の期間に変換できるかどうかを判断するのに役立ちます..
Original:
The std::chrono::treat_as_floating_point trait helps determine if a duration can be converted to another duration with a different tick period.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
通常、2つの期間の間に暗黙の型変換は持続時間の目盛り期間に応じて異なります。 std::chrono::treat_as_floating_point<Rep>::value == trueただし、暗黙的な変換は、ダニの期間に関係なく発生する可能性があります.
Original:
Implicit conversions between two durations normally depends on the tick period of the durations. However, implicit conversions can happen regardless of tick period if std::chrono::treat_as_floating_point<Rep>::value == true.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.