.TH "std::chrono" 3cxx "Tue Jul 2 2019" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::chrono \- ISO C++ 2011 entities sub-namespace for time and date\&. .SH SYNOPSIS .br .PP .SS "Classes" .in +1c .ti -1c .RI "struct \fBduration\fP" .br .RI "duration " .ti -1c .RI "struct \fBduration_values\fP" .br .RI "duration_values " .ti -1c .RI "struct \fBtime_point\fP" .br .RI "time_point " .ti -1c .RI "struct \fBtreat_as_floating_point\fP" .br .RI "treat_as_floating_point " .in -1c .SS "Typedefs" .in +1c .ti -1c .RI "template::type> using \fB__common_rep_t\fP = typename \fBenable_if\fP< \fBis_convertible\fP< const _Rep2 &, _CRep >::value, _CRep >::type" .br .ti -1c .RI "template using \fB__disable_if_is_duration\fP = typename \fBenable_if\fP::value, _Tp >::type" .br .ti -1c .RI "template using \fB__enable_if_is_duration\fP = typename \fBenable_if\fP< __is_duration< _Tp >::value, _Tp >::type" .br .ti -1c .RI "typedef \fBduration\fP< int64_t, \fBratio\fP< 3600 > > \fBhours\fP" .br .RI "hours " .ti -1c .RI "typedef \fBduration\fP< int64_t, micro > \fBmicroseconds\fP" .br .RI "microseconds " .ti -1c .RI "typedef \fBduration\fP< int64_t, milli > \fBmilliseconds\fP" .br .RI "milliseconds " .ti -1c .RI "typedef \fBduration\fP< int64_t, \fBratio\fP< 60 > > \fBminutes\fP" .br .RI "minutes " .ti -1c .RI "typedef \fBduration\fP< int64_t, nano > \fBnanoseconds\fP" .br .RI "nanoseconds " .ti -1c .RI "typedef \fBduration\fP< int64_t > \fBseconds\fP" .br .RI "seconds " .in -1c .SS "Functions" .in +1c .ti -1c .RI "template constexpr __enable_if_is_duration< _ToDur > \fBduration_cast\fP (const \fBduration\fP< _Rep, _Period > &__d)" .br .RI "duration_cast " .ti -1c .RI "template constexpr bool \fBoperator!=\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template constexpr bool \fBoperator!=\fP (const \fBtime_point\fP< _Clock, _Dur1 > &__lhs, const \fBtime_point\fP< _Clock, _Dur2 > &__rhs)" .br .ti -1c .RI "template constexpr \fBduration\fP< __common_rep_t< _Rep1, __disable_if_is_duration< _Rep2 > >, _Period > \fBoperator%\fP (const \fBduration\fP< _Rep1, _Period > &__d, const _Rep2 &__s)" .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 .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 .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 \fBtime_point\fP< _Clock, typename \fBcommon_type\fP< _Dur1, \fBduration\fP< _Rep2, _Period2 > >::type > \fBoperator+\fP (const \fBtime_point\fP< _Clock, _Dur1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template constexpr \fBtime_point\fP< _Clock, typename \fBcommon_type\fP< \fBduration\fP< _Rep1, _Period1 >, _Dur2 >::type > \fBoperator+\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBtime_point\fP< _Clock, _Dur2 > &__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 .ti -1c .RI "template constexpr \fBtime_point\fP< _Clock, typename \fBcommon_type\fP< _Dur1, \fBduration\fP< _Rep2, _Period2 > >::type > \fBoperator\-\fP (const \fBtime_point\fP< _Clock, _Dur1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template constexpr \fBcommon_type\fP< _Dur1, _Dur2 >::type \fBoperator\-\fP (const \fBtime_point\fP< _Clock, _Dur1 > &__lhs, const \fBtime_point\fP< _Clock, _Dur2 > &__rhs)" .br .ti -1c .RI "template constexpr \fBduration\fP< __common_rep_t< _Rep1, __disable_if_is_duration< _Rep2 > >, _Period > \fBoperator/\fP (const \fBduration\fP< _Rep1, _Period > &__d, const _Rep2 &__s)" .br .ti -1c .RI "template constexpr \fBcommon_type\fP< _Rep1, _Rep2 >::type \fBoperator/\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template constexpr bool \fBoperator<\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template constexpr bool \fBoperator<\fP (const \fBtime_point\fP< _Clock, _Dur1 > &__lhs, const \fBtime_point\fP< _Clock, _Dur2 > &__rhs)" .br .ti -1c .RI "template constexpr bool \fBoperator<=\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template constexpr bool \fBoperator<=\fP (const \fBtime_point\fP< _Clock, _Dur1 > &__lhs, const \fBtime_point\fP< _Clock, _Dur2 > &__rhs)" .br .ti -1c .RI "template constexpr bool \fBoperator==\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template constexpr bool \fBoperator==\fP (const \fBtime_point\fP< _Clock, _Dur1 > &__lhs, const \fBtime_point\fP< _Clock, _Dur2 > &__rhs)" .br .ti -1c .RI "template constexpr bool \fBoperator>\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template constexpr bool \fBoperator>\fP (const \fBtime_point\fP< _Clock, _Dur1 > &__lhs, const \fBtime_point\fP< _Clock, _Dur2 > &__rhs)" .br .ti -1c .RI "template constexpr bool \fBoperator>=\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template constexpr bool \fBoperator>=\fP (const \fBtime_point\fP< _Clock, _Dur1 > &__lhs, const \fBtime_point\fP< _Clock, _Dur2 > &__rhs)" .br .ti -1c .RI "template constexpr \fBenable_if\fP< __is_duration< _ToDur >::value, \fBtime_point\fP< _Clock, _ToDur > >::type \fBtime_point_cast\fP (const \fBtime_point\fP< _Clock, _Dur > &__t)" .br .RI "time_point_cast " .in -1c .SH "Detailed Description" .PP ISO C++ 2011 entities sub-namespace for time and date\&. .SH "Typedef Documentation" .PP .SS "typedef \fBduration\fP > \fBstd::chrono::hours\fP" .PP hours .PP Definition at line 612 of file chrono\&. .SS "typedef \fBduration\fP \fBstd::chrono::microseconds\fP" .PP microseconds .PP Definition at line 600 of file chrono\&. .SS "typedef \fBduration\fP \fBstd::chrono::milliseconds\fP" .PP milliseconds .PP Definition at line 603 of file chrono\&. .SS "typedef \fBduration\fP > \fBstd::chrono::minutes\fP" .PP minutes .PP Definition at line 609 of file chrono\&. .SS "typedef \fBduration\fP \fBstd::chrono::nanoseconds\fP" .PP nanoseconds .PP Definition at line 597 of file chrono\&. .SS "typedef \fBduration\fP \fBstd::chrono::seconds\fP" .PP seconds .PP Definition at line 606 of file chrono\&. .SH "Function Documentation" .PP .SS "template constexpr __enable_if_is_duration<_ToDur> std::chrono::duration_cast (const \fBduration\fP< _Rep, _Period > & __d)" .PP duration_cast .PP Definition at line 193 of file chrono\&. .SS "template constexpr \fBenable_if\fP<__is_duration<_ToDur>::value, \fBtime_point\fP<_Clock, _ToDur> >::type std::chrono::time_point_cast (const \fBtime_point\fP< _Clock, _Dur > & __t)" .PP time_point_cast .PP Definition at line 674 of file chrono\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.