.TH "std::chrono::duration< _Rep, _Period >" 3 "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::chrono::duration< _Rep, _Period > \- \fRchrono::duration\fP represents a distance between two points in time .SH SYNOPSIS .br .PP .SS "Public Types" .in +1c .ti -1c .RI "using \fBperiod\fP" .br .ti -1c .RI "using \fBrep\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "template, __or_<__is_float, __not_<__is_float<_Rep2>>>>> constexpr \fBduration\fP (const _Rep2 &__rep)" .br .ti -1c .RI "\fBduration\fP (const duration &)=default" .br .ti -1c .RI "template, __or_<__is_float, __and_<__is_harmonic<_Period2>, __not_<__is_float<_Rep2>>>>>> constexpr \fBduration\fP (const duration< _Rep2, _Period2 > &__d)" .br .ti -1c .RI "constexpr rep \fBcount\fP () const" .br .ti -1c .RI "template constexpr __enable_if_t::value, duration & > \fBoperator%=\fP (const duration &__d)" .br .ti -1c .RI "template constexpr __enable_if_t::value, duration & > \fBoperator%=\fP (const rep &__rhs)" .br .ti -1c .RI "constexpr duration & \fBoperator*=\fP (const rep &__rhs)" .br .ti -1c .RI "constexpr duration< typename \fBcommon_type\fP< rep >::type, period > \fBoperator+\fP () const" .br .ti -1c .RI "constexpr duration & \fBoperator++\fP ()" .br .ti -1c .RI "constexpr duration \fBoperator++\fP (int)" .br .ti -1c .RI "constexpr duration & \fBoperator+=\fP (const duration &__d)" .br .ti -1c .RI "constexpr duration< typename \fBcommon_type\fP< rep >::type, period > \fBoperator\-\fP () const" .br .ti -1c .RI "constexpr duration & \fBoperator\-\-\fP ()" .br .ti -1c .RI "constexpr duration \fBoperator\-\-\fP (int)" .br .ti -1c .RI "constexpr duration & \fBoperator\-=\fP (const duration &__d)" .br .ti -1c .RI "constexpr duration & \fBoperator/=\fP (const rep &__rhs)" .br .ti -1c .RI "duration & \fBoperator=\fP (const duration &)=default" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static constexpr duration \fBmax\fP () noexcept" .br .ti -1c .RI "static constexpr duration \fBmin\fP () noexcept" .br .ti -1c .RI "static constexpr duration \fBzero\fP () noexcept" .br .in -1c .SS "Related Symbols" (Note that these are not member symbols\&.) .PP .RI "\fB\fP" .br .in +1c .in +1c .ti -1c .RI "template constexpr \fBcommon_type\fP< duration< _Rep1, _Period1 >, duration< _Rep2, _Period2 > >::type \fBoperator+\fP (const duration< _Rep1, _Period1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs)" .br .RI "The sum of two durations\&. " .in -1c .in -1c .PP .RI "\fB\fP" .br .in +1c .in +1c .ti -1c .RI "template constexpr duration< __common_rep_t< _Rep1, _Rep2 >, _Period > \fBoperator*\fP (const duration< _Rep1, _Period > &__d, const _Rep2 &__s)" .br .in -1c .in -1c .PP .RI "\fB\fP" .br .in +1c .in +1c .ti -1c .RI "template constexpr bool \fBoperator==\fP (const duration< _Rep1, _Period1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs)" .br .in -1c .in -1c .SH "Detailed Description" .PP .SS "template .br class std::chrono::duration< _Rep, _Period >"\fRchrono::duration\fP represents a distance between two points in time .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.