STD::CHRONO::TIME_POINT(3)

NAME πŸ’–

Welcome to the Library Functions Manual, section 3, bestie β€” this is the std::chron...ock, _Dur >(3) page for std::chrono::time_point< _Clock, _Dur >. And the vibe? chrono::time_point represents a point in time as measured by a clock. That's it. That's the whole assignment. πŸ•°οΈβœ¨

SYNOPSIS 🌸

Public Types πŸŽ€

okay so first up, the public types are the little blueprint besties:

typedef _Clock clock
typedef _Dur duration
typedef duration::period period
typedef duration::rep rep

Public Member Functions πŸ’…

these are the member functions, no cap:

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 besties, serving constexpr and noexcept energy:

static constexpr time_point max () noexcept
static constexpr time_point min () noexcept
heads up: these are not member symbols. Not me clarifying that, but the manual did, so we're clarifying it too. πŸ’€
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)

And what does this icon do? Adjust a time point forwards by the given duration. Slay. ⏩✨

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

Author ✍️

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


okay bestie, that's the whole page! This came from the Library Functions Manual page for std::chron...ock, _Dur >(3), and the footer is giving source/version libstdc++ plus the page title std::chron...ock, _Dur >(3). No specific date on the footer, so that's the vibe. Stay iconic, and don't forget: time points are just points in time as measured by a clock. Periodt. πŸ’…πŸ«Άβœ¨

πŸ“¦ where this page comes from
  • arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
  • fedora 44: libstdc++-docs 16.2.1-2.fc44
  • fedora 44: libstdc++-docs 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms