std::chrono::time_point::time_point
De 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> time_point(); |
(1) | |
explicit time_point(const std::chrono::duration& d); |
(2) | |
template <class Duration2> time_point(const time_point<clock, Duration2>& t); |
(3) | |
Construit une nouvelle
time_point parmi plusieurs sources de données en option .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. Constructeur par défaut, crée un
time_point avec une valeur de période de Clock .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. Construit un
time_point à Clock son époque, plus 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. Construit un
time_point en convertissant t à duration. Ce constructeur ne participe qu'à la résolution de surcharge si Duration2 est implicitement convertible en 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.
Paramètres
| d | - | un
duration à copierOriginal: 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 à convertirOriginal: 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. |
Exemple
| This section is incomplete Reason: no example |
Voir aussi
construit une nouvelle durée 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. (fonction membre publique de std::chrono::duration)
| |