std::chrono::duration(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

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