.TH "std::chrono" 3cxx "Mon May 22 2017" "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 "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 >::value, _ToDur >::type \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< typename __common_rep_type< _Rep1, typename enable_if::value, _Rep2 >::type >::type, _Period > \fBoperator%\fP (const \fBduration\fP< _Rep1, _Period > &__d, const _Rep2 &__s)" .br .ti -1c .RI "template constexpr common_type< \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< typename __common_rep_type< _Rep1, _Rep2 >::type, _Period > \fBoperator*\fP (const \fBduration\fP< _Rep1, _Period > &__d, const _Rep2 &__s)" .br .ti -1c .RI "template constexpr \fBduration\fP< typename __common_rep_type< _Rep2, _Rep1 >::type, _Period > \fBoperator*\fP (const _Rep1 &__s, const \fBduration\fP< _Rep2, _Period > &__d)" .br .ti -1c .RI "template constexpr common_type< \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 common_type< _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 common_type< \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 common_type< \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 common_type< _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 common_type< _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< typename __common_rep_type< _Rep1, typename enable_if::value, _Rep2 >::type >::type, _Period > \fBoperator/\fP (const \fBduration\fP< _Rep1, _Period > &__d, const _Rep2 &__s)" .br .ti -1c .RI "template constexpr common_type< _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 enable_if< __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 606 of file chrono\&. .SS "typedef \fBduration\fP \fBstd::chrono::microseconds\fP" .PP microseconds .PP Definition at line 594 of file chrono\&. .SS "typedef \fBduration\fP \fBstd::chrono::milliseconds\fP" .PP milliseconds .PP Definition at line 597 of file chrono\&. .SS "typedef \fBduration\fP > \fBstd::chrono::minutes\fP" .PP minutes .PP Definition at line 603 of file chrono\&. .SS "typedef \fBduration\fP \fBstd::chrono::nanoseconds\fP" .PP nanoseconds .PP Definition at line 591 of file chrono\&. .SS "typedef \fBduration\fP \fBstd::chrono::seconds\fP" .PP seconds .PP Definition at line 600 of file chrono\&. .SH "Function Documentation" .PP .SS "template constexpr enable_if<__is_duration<_ToDur>::value, _ToDur>::type std::chrono::duration_cast (const \fBduration\fP< _Rep, _Period > & __d)" .PP duration_cast .PP Definition at line 194 of file chrono\&. .SS "template constexpr enable_if<__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 667 of file chrono\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.