std::chrono::time_point - Man Page

chrono::time_point represents a point in time as measured by a clock

Synopsis

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++ ()
constexpr time_point operator++ (int)
constexpr time_point & operator+= (const duration &__dur)
constexpr time_point & operator-- ()
constexpr time_point operator-- (int)
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

Detailed Description

template<typename _Clock, typename _Dur>

struct std::chrono::time_point< _Clock, _Dur >"chrono::time_point represents a point in time as measured by a clock

Definition at line 856 of file chrono.h.

Member Typedef Documentation

template<typename _Clock , typename _Dur > typedef _Clock std::chrono::time_point< _Clock, _Dur >::clock

Definition at line 861 of file chrono.h.

template<typename _Clock , typename _Dur > typedef _Dur std::chrono::time_point< _Clock, _Dur >::duration

Definition at line 862 of file chrono.h.

template<typename _Clock , typename _Dur > typedef duration::period std::chrono::time_point< _Clock, _Dur >::period

Definition at line 864 of file chrono.h.

template<typename _Clock , typename _Dur > typedef duration::rep std::chrono::time_point< _Clock, _Dur >::rep

Definition at line 863 of file chrono.h.

Constructor & Destructor Documentation

template<typename _Clock , typename _Dur > constexpr std::chrono::time_point< _Clock, _Dur >::time_point () [inline], [constexpr]

Definition at line 866 of file chrono.h.

template<typename _Clock , typename _Dur > constexpr std::chrono::time_point< _Clock, _Dur >::time_point (const duration & __dur) [inline], [explicit], [constexpr]

Definition at line 869 of file chrono.h.

template<typename _Clock , typename _Dur > template<typename _Dur2 , typename  = _Require<is_convertible<_Dur2, _Dur>>> constexpr std::chrono::time_point< _Clock, _Dur >::time_point (const time_point< clock, _Dur2 > & __t) [inline], [constexpr]

Definition at line 876 of file chrono.h.

Member Function Documentation

template<typename _Clock , typename _Dur > static constexpr time_point std::chrono::time_point< _Clock, _Dur >::max () [inline], [static], [constexpr], [noexcept]

Definition at line 930 of file chrono.h.

template<typename _Clock , typename _Dur > static constexpr time_point std::chrono::time_point< _Clock, _Dur >::min () [inline], [static], [constexpr], [noexcept]

Definition at line 926 of file chrono.h.

template<typename _Clock , typename _Dur > constexpr time_point & std::chrono::time_point< _Clock, _Dur >::operator++ () [inline], [constexpr]

Definition at line 887 of file chrono.h.

template<typename _Clock , typename _Dur > constexpr time_point std::chrono::time_point< _Clock, _Dur >::operator++ (int) [inline], [constexpr]

Definition at line 894 of file chrono.h.

template<typename _Clock , typename _Dur > constexpr time_point & std::chrono::time_point< _Clock, _Dur >::operator+= (const duration & __dur) [inline], [constexpr]

Definition at line 911 of file chrono.h.

template<typename _Clock , typename _Dur > constexpr time_point & std::chrono::time_point< _Clock, _Dur >::operator-- () [inline], [constexpr]

Definition at line 898 of file chrono.h.

template<typename _Clock , typename _Dur > constexpr time_point std::chrono::time_point< _Clock, _Dur >::operator-- (int) [inline], [constexpr]

Definition at line 905 of file chrono.h.

template<typename _Clock , typename _Dur > constexpr time_point & std::chrono::time_point< _Clock, _Dur >::operator-= (const duration & __dur) [inline], [constexpr]

Definition at line 918 of file chrono.h.

template<typename _Clock , typename _Dur > constexpr duration std::chrono::time_point< _Clock, _Dur >::time_since_epoch () const [inline], [constexpr]

Definition at line 882 of file chrono.h.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Info

Wed Sep 7 2022 libstdc++