std::chrono::time_point(3cxx)

std::chrono::time_point3cxx

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

Usage

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

Related Symbols

(Note that these are not member symbols.)

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)

Detailed Description

template<typename _Clock, typename _Dur>

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

Releases

6 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

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

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.