Files
2025-10-25 03:02:53 +03:00

1.6 KiB
Raw Permalink Blame History

[time.clock.system.members]

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;

1

#

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;

2

#

Returns: A time_t object that represents the same point in time as t when 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;

3

#

Returns: A time_point object that represents the same point in time as t when 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.