Espaces de noms
Variantes
Affichages
Actions

std::common_type(std::chrono::time_point)

De cppreference.com
< cpp‎ | chrono‎ | time point

 
 
 
 
std::chrono::time_point
Les fonctions membres
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
time_point::time_point
time_point::time_since_epoch
time_point::operator+
time_point::operator-
time_point::min
time_point::max
Tiers fonctions
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
common_type
operator+
operator-
operator==
operator!=
operator<
operator<=
operator>
operator>=
time_point_cast
 
template <class Clock, class Duration1, class Duration2>

struct common_type<std::chrono::time_point<Clock, Duration1>,
                   std::chrono::time_point<Clock, Duration2>> {
    typedef std::chrono::time_point<
        Clock, typename std::common_type<Duration1, Duration2>::type> type;

};
(depuis C++11)
Expose le type nommé type, qui est le type commun de deux std::chrono::time_points .
Original:
Exposes the type named type, which is the common type of two std::chrono::time_points.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Notes

Le type commun de deux types std::chrono::time_point est un std::chrono::time_point avec la même horloge que les deux types et la std::common_type de leurs durées .
Original:
The common type of two std::chrono::time_point types is a std::chrono::time_point with the same clock as the two types and the std::common_type of their durations.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Exemple