Namensräume
Varianten
Aktionen

std::chrono::treat_as_floating_point

Aus cppreference.com
< cpp‎ | chrono

 
 
 
 
std::chrono::duration
Member-Funktionen
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%=
Non-Member-Funktionen
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
Helper-Klassen
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> {};
(seit C++11)
Die std::chrono::treat_as_floating_point Merkmal hilft zu bestimmen, wenn eine Dauer kann auf eine andere Dauer mit einem anderen Tick Zeit umgewandelt werden .
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.
Implizite Konvertierungen zwischen zwei Dauern in der Regel abhängig von der Zecke Zeit der Laufzeiten. Allerdings können implizite Konvertierungen unabhängig von Zecken Zeitraum geschehen, wenn 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.