libstdc++
std::chrono Namespace Reference

Classes

Typedefs

Functions


Detailed Description

ISO C++ 0x entities sub namespace for time and date.


Typedef Documentation

typedef duration<int, ratio<3600> > std::chrono::hours

hours

Definition at line 514 of file chrono.

typedef duration<int64_t, micro> std::chrono::microseconds

microseconds

Definition at line 502 of file chrono.

typedef duration<int64_t, milli> std::chrono::milliseconds

milliseconds

Definition at line 505 of file chrono.

typedef duration<int, ratio< 60> > std::chrono::minutes

minutes

Definition at line 511 of file chrono.

typedef duration<int64_t, nano> std::chrono::nanoseconds

nanoseconds

Definition at line 499 of file chrono.

typedef duration<int64_t> std::chrono::seconds

seconds

Definition at line 508 of file chrono.


Function Documentation

template<typename _ToDur , typename _Rep , typename _Period >
constexpr enable_if<__is_duration<_ToDur>::value, _ToDur>::type std::chrono::duration_cast ( const duration< _Rep, _Period > &  __d) [inline]

duration_cast

Definition at line 173 of file chrono.

Referenced by std::this_thread::sleep_for().

template<typename _ToDur , typename _Clock , typename _Dur >
constexpr enable_if<__is_duration<_ToDur>::value, time_point<_Clock, _ToDur> >::type std::chrono::time_point_cast ( const time_point< _Clock, _Dur > &  __t) [inline]

time_point_cast

Definition at line 575 of file chrono.