23 General utilities library [utilities]

23.17 Time utilities [time]

23.17.6 Class template time_­point [time.point]

23.17.6.1 time_­point constructors [time.point.cons]

constexpr time_point();

Effects: Constructs an object of type time_­point, initializing d_­ with duration​::​zero(). Such a time_­point object represents the epoch.

constexpr explicit time_point(const duration& d);

Effects: Constructs an object of type time_­point, initializing d_­ with d. Such a time_­point object represents the epoch + d.

template <class Duration2> constexpr time_point(const time_point<clock, Duration2>& t);

Remarks: This constructor shall not participate in overload resolution unless Duration2 is implicitly convertible to duration.

Effects: Constructs an object of type time_­point, initializing d_­ with t.time_­since_­epoch().