[time.clock.system.members] (original) (raw)
30 Time library [time]
30.7 Clocks [time.clock]
30.7.2 Class system_clock [time.clock.system]
30.7.2.2 Members [time.clock.system.members]
using system_clock::rep = _unspecified_;
Constraints: system_clock::duration::min() < system_clock::duration::zero() is true.
[Note 1:
This implies that rep is a signed type.
— _end note_]
static time_t to_time_t(const time_point& t) noexcept;
Returns: A time_t object that represents the same point in time as twhen both values are restricted to the coarser of the precisions of time_t andtime_point.
It is implementation-defined whether values are rounded or truncated to the required precision.
static time_point from_time_t(time_t t) noexcept;
Returns: A time_point object that represents the same point in time as twhen both values are restricted to the coarser of the precisions of time_t andtime_point.
It is implementation-defined whether values are rounded or truncated to the required precision.