Namespace
Varianti

std::chrono::system_clock::from_time_t

Da cppreference.com.
< cpp‎ | chrono‎ | system clock

 
 
Utilità libreria
Tipo di supporto (basic types, RTTI, type traits)
Gestione della memoria dinamica
La gestione degli errori
Programma di utilità
Funzioni variadic
Data e ora
Funzione oggetti
initializer_list(C++11)
bitset
hash(C++11)
Gli operatori relazionali
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
Coppie e tuple
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pair
tuple(C++11)
piecewise_construct_t(C++11)
piecewise_construct(C++11)
Swap, in avanti e spostare
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap
forward(C++11)
move(C++11)
move_if_noexcept(C++11)
declval(C++11)
 
 
std::chrono::system_clock
Membri funzioni
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.
system_clock::now
system_clock::to_time_t
system_clock::from_time_t
 
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.
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.

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.

[modifica] Eccezioni

noexcept specification:  
noexcept
  (dal C++11)

[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) [modifica]