std::chrono::treat_as_floating_point
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <chrono>
|
||
template <class Rep> struct treat_as_floating_point : std::is_floating_point<Rep> {}; |
(dal C++11) | |
Il tratto
std::chrono::treat_as_floating_point aiuta a determinare se una durata può essere convertito in un altro con un periodo di durata differente tick.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.
Le conversioni implicite tra due durate normalmente dipende il periodo tick delle durate. Tuttavia, le conversioni implicite può accadere indipendentemente dal periodo di zecca se
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.