libstdc++
|
Public Types | |
typedef _Clock | clock |
typedef _Dur | duration |
typedef duration::period | period |
typedef duration::rep | rep |
Public Member Functions | |
constexpr | time_point (const duration &__dur) |
template<typename _Dur2 , typename = _Require<is_convertible<_Dur2, _Dur>>> | |
constexpr | time_point (const time_point< clock, _Dur2 > &__t) |
constexpr time_point & | operator+= (const duration &__dur) |
constexpr time_point & | operator-= (const duration &__dur) |
constexpr duration | time_since_epoch () const |
Static Public Member Functions | |
static constexpr time_point | max () noexcept |
static constexpr time_point | min () noexcept |
Related Functions | |
(Note that these are not member functions.) | |
template<typename _Clock , typename _Dur1 , typename _Rep2 , typename _Period2 > | |
constexpr time_point< _Clock, typename common_type< _Dur1, duration< _Rep2, _Period2 > >::type > | operator+ (const time_point< _Clock, _Dur1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs) |
chrono::time_point
represents a point in time as measured by a clock
Definition at line 872 of file std/chrono.
typedef _Clock std::chrono::time_point< _Clock, _Dur >::clock |
Definition at line 877 of file std/chrono.
typedef _Dur std::chrono::time_point< _Clock, _Dur >::duration |
Definition at line 878 of file std/chrono.
typedef duration::period std::chrono::time_point< _Clock, _Dur >::period |
Definition at line 880 of file std/chrono.
typedef duration::rep std::chrono::time_point< _Clock, _Dur >::rep |
Definition at line 879 of file std/chrono.
|
inlineconstexpr |
Definition at line 882 of file std/chrono.
|
inlineexplicitconstexpr |
Definition at line 885 of file std/chrono.
|
inlineconstexpr |
Definition at line 892 of file std/chrono.
|
inlinestaticconstexprnoexcept |
Definition at line 946 of file std/chrono.
|
inlinestaticconstexprnoexcept |
Definition at line 942 of file std/chrono.
|
inlineconstexpr |
Definition at line 927 of file std/chrono.
|
inlineconstexpr |
Definition at line 934 of file std/chrono.
|
inlineconstexpr |
Definition at line 898 of file std/chrono.