std::chrono::time_point::time_point
Aus 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) | |
Erzeugt ein neues
time_point aus einer von mehreren optional Datenquellen .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.
Ein. Standardkonstruktor, schafft eine
time_point mit einem Wert von Clock der Epoche .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. Erzeugt ein
time_point am Clock der Epoche sowie 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. Erzeugt ein
time_point durch Umwandlung t um duration. Dieser Konstruktor nur beteiligt Überladungsauflösung, wenn Duration2 implizit konvertierbar duration ist .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.
Parameter
| d | - | a
duration aus kopierenOriginal: 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 | - | a
time_point aus umzuwandelnOriginal: 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. |
Beispiel
| This section is incomplete Reason: no example |
Siehe auch
| erzeugt neues Intervall. (öffentliche Elementfunktion of std::chrono::duration)
| |