std::chrono::duration::operator+(unary), std::chrono::duration::operator-(unary)
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> constexpr duration operator+() const; |
(1) | |
constexpr duration operator-() const; |
(2) | |
Implementiert unären Plus-und unäre Minus für die Dauer .
Original:
Implements unary plus and unary minus for the durations.
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.
Wenn
rep_ ist Mitglied Variable, die die Anzahl der Ticks in einer Dauer Objekt Original:
If
rep_ is a member variable holding the number of ticks in a duration object, 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)
Entspricht
return *this;Original:
Equivalent to
return *this;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)
Entspricht
return duration(-rep_);Original:
Equivalent to
return duration(-rep_);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.