std::chrono::duration(3)
okay bestie, welcome to the std::chrono::duration(3) page β it's from the Library Functions Manual, and we are going to read it together like it's the group chat π
β¨ NAME β¨
std::chrono::duration β duration. That's the whole name, no cap π
πΈ SYNOPSIS πΈ
Here's the synopsis, bestie β every signature stays exactly as it is, because we do not play with source code π
π¦ Public Types π¦
typedef _Period period
typedef _Rep rep
π Public Member Functions π
rep count () const
duration (const duration &)
template<typename _Rep2 , typename _Period2 > duration (const duration<
_Rep2, _Period2 > &__d)
template<typename _Rep2 > duration (_Rep2 const &__rep)
duration & operator*= (const rep &__rhs)
duration operator+ () const
duration operator++ (int)
duration & operator++ ()
duration & operator+= (const duration &__d)
duration operator- () const
duration operator-- (int)
duration & operator-- ()
duration & operator-= (const duration &__d)
duration & operator/= (const rep &__rhs)
duration & operator= (const duration &)
static_assert (_Period::num > 0,'period must be positive')
static_assert (__is_ratio< _Period >::value,'period must be a
specialization of ratio')
static_assert (!__is_duration< _Rep >::value,'rep cannot be a duration')
β Static Public Member Functions β
static const duration max ()
static const duration min ()
static const duration zero ()
π₯ Detailed Description π₯
The detailed description is giving main character energy, and it says this β literally exactly this:
template<typename _Rep, typename _Period> struct std::chrono::duration<
_Rep, _Period >
duration
Definition at line 200 of file chrono.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
That's the whole page, bestie π«Ά source/version: libstdc++; date: 21 Apr 2009. bye bestie ππ
π¦ where this page comes from
- nixpkgs unstable: std-man-pages 4.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms