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) | |
Constrói um novo
time_point de uma das várias fontes de dados opcionais.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. Construtor padrão, cria um
time_point com um valor de época do 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. Constrói um
time_point na época Clock, acrescido 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. Constrói um
time_point convertendo t para duration. Esse construtor só participa na resolução de sobrecarga se Duration2 é implicitamente conversível para 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.
Parâmetros
| d | - | um
duration para copiarOriginal: 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 | - | um
time_point converterOriginal: 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. |
Exemplo
| Esta seção está incompleta Motivo: sem exemplo |
Veja também
constrói nova duração 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. (of std::chrono::duration função pública membro)
| |