std::chrono::treat_as_floating_point
Aus 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. |
<metanoindex/>
<tbody> </tbody>| definiert 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.
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.
You can help to correct and verify the translation. Click here for instructions.