std::chrono::system_clock::from_time_t
Da cppreference.com.
< cpp | chrono | system clock
![]() |
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. |
static std::chrono::time_point from_time_t( std::time_t t ); |
(dal C++11) | |
t
converte in un tipo punto temporale, utilizzando la grossolana precisione dei due tipi.Original:
Converts
t
to a time point type, using the coarser precision of the two types.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.
Se
time_point
ha una minore precisione, è l'implementazione definita se il valore è arrotondato o troncato.Original:
If
time_point
has lower precision, it is implementation defined whether the value is rounded or truncated.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.
Indice |
[modifica] Parametri
t | - | std::time_t valore da convertire
Original: std::time_t value to convert The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica] Valore di ritorno
Un valore di tipo std::chrono::time_point rappresentare
t
.Original:
A value of type std::chrono::time_point representing
t
.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.
[modifica] Eccezioni
[modifica] Vedi anche
[statico] |
converte un orologio di sistema a punti di tempo in std::time_t Original: converts a system clock time point to std::time_t The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico statico) |