std::chrono::time_point::time_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> time_point(); |
(1) | |
explicit time_point(const std::chrono::duration& d); |
(2) | |
template <class Duration2> time_point(const time_point<clock, Duration2>& t); |
(3) | |
Costruisce un nuovo
time_point da una delle varie fonti di dati opzionali.Original:
Constructs a new
time_point from one of several optional data sources.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.
1. Costruttore di default, crea un
time_point con un valore d'epoca Clock di.Original:
1. Default constructor, creates a
time_point with a value of Clock's epoch.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.
2. Costruisce un
time_point a Clock di epoca più d.Original:
2. Constructs a
time_point at Clock's epoch plus d.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.
3. Costruisce un
time_point convertendo t a duration. Il costruttore partecipa solo in risoluzione dell'overload se Duration2 la conversione implicita in duration.Original:
3. Constructs a
time_point by converting t to duration. This constructor only participates in overload resolution if Duration2 is implicitly convertible to duration.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.
Parametri
| d | - | un
duration da cui copiareOriginal: a duration to copy fromThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| t | - | un
time_point per convertire daOriginal: a time_point to convert fromThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Esempio
| This section is incomplete Reason: no example |
Vedi anche
costruisce nuova durata Original: constructs new duration The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |