.TH "std::chrono::duration< _Rep, _Period >" 3cxx "Tue Jul 18 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::chrono::duration< _Rep, _Period > \- duration .SH SYNOPSIS .br .PP .SS "Public Types" .in +1c .ti -1c .RI "using \fBperiod\fP = typename _Period::type" .br .ti -1c .RI "using \fBrep\fP = _Rep" .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 \fBduration\fP &)=default" .br .ti -1c .RI "template, __or_<__is_float, __and_<__is_harmonic<_Period2>, __not_<__is_float<_Rep2>>>>>> constexpr \fBduration\fP (const \fBduration\fP< _Rep2, _Period2 > &__d)" .br .ti -1c .RI "constexpr rep \fBcount\fP () const" .br .ti -1c .RI "template constexpr \fBenable_if\fP::value, \fBduration\fP & >::type \fBoperator%=\fP (const \fBduration\fP &__d)" .br .ti -1c .RI "template constexpr \fBenable_if\fP::value, \fBduration\fP & >::type \fBoperator%=\fP (const rep &__rhs)" .br .ti -1c .RI "constexpr \fBduration\fP & \fBoperator*=\fP (const rep &__rhs)" .br .ti -1c .RI "constexpr \fBduration\fP< typename \fBcommon_type\fP< rep >::type, period > \fBoperator+\fP () const" .br .ti -1c .RI "constexpr \fBduration\fP & \fBoperator++\fP ()" .br .ti -1c .RI "constexpr \fBduration\fP \fBoperator++\fP (int)" .br .ti -1c .RI "constexpr \fBduration\fP & \fBoperator+=\fP (const \fBduration\fP &__d)" .br .ti -1c .RI "constexpr \fBduration\fP< typename \fBcommon_type\fP< rep >::type, period > \fBoperator\-\fP () const" .br .ti -1c .RI "constexpr \fBduration\fP & \fBoperator\-\-\fP ()" .br .ti -1c .RI "constexpr \fBduration\fP \fBoperator\-\-\fP (int)" .br .ti -1c .RI "constexpr \fBduration\fP & \fBoperator\-=\fP (const \fBduration\fP &__d)" .br .ti -1c .RI "constexpr \fBduration\fP & \fBoperator/=\fP (const rep &__rhs)" .br .ti -1c .RI "\fBduration\fP & \fBoperator=\fP (const \fBduration\fP &)=default" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static constexpr \fBduration\fP \fBmax\fP () noexcept" .br .ti -1c .RI "static constexpr \fBduration\fP \fBmin\fP () noexcept" .br .ti -1c .RI "static constexpr \fBduration\fP \fBzero\fP () noexcept" .br .in -1c .SS "Related Functions" (Note that these are not member functions\&.) .PP .RI "\fB\fP" .br .in +1c .in +1c .ti -1c .RI "template constexpr \fBcommon_type\fP< \fBduration\fP< _Rep1, _Period1 >, \fBduration\fP< _Rep2, _Period2 > >::type \fBoperator+\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template constexpr \fBcommon_type\fP< \fBduration\fP< _Rep1, _Period1 >, \fBduration\fP< _Rep2, _Period2 > >::type \fBoperator\-\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .RI "The difference between two durations\&. " .in -1c .in -1c .PP .RI "\fB\fP" .br .in +1c .in +1c .ti -1c .RI "template constexpr \fBduration\fP< __common_rep_t< _Rep1, _Rep2 >, _Period > \fBoperator*\fP (const \fBduration\fP< _Rep1, _Period > &__d, const _Rep2 &__s)" .br .ti -1c .RI "template constexpr \fBduration\fP< __common_rep_t< _Rep2, _Rep1 >, _Period > \fBoperator*\fP (const _Rep1 &__s, const \fBduration\fP< _Rep2, _Period > &__d)" .br .RI "Multiply a duration by a scalar value\&. " .in -1c .in -1c .SH "Detailed Description" .PP .SS "template .br struct std::chrono::duration< _Rep, _Period >"duration .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.