std::chrono::duration< _Rep, _Period > Struct Template Reference
duration
More...
List of all members.
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
Detailed Description
template<typename _Rep, typename _Period>
struct std::chrono::duration< _Rep, _Period >
duration
Definition at line 200 of file chrono.
The documentation for this struct was generated from the following file: