std::chrono::duration(3)

NAME
std::chrono::duration - duration

SYNOPSIS

  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

  template<typename _Rep, typename _Period> struct std::chrono::duration< _Rep, _Period >
duration

Definition at line 205 of file chrono.

Author

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