30 Time library [time]

30.6 Class template time_point [time.point]

30.6.2 Constructors [time.point.cons]

constexpr time_point();
Effects: Initializes d_ with duration​::​zero().
Such a time_point object represents the epoch.
constexpr explicit time_point(const duration& d);
Effects: Initializes d_ with d.
Such a time_point object represents the epoch + d.
template<class Duration2> constexpr time_point(const time_point<clock, Duration2>& t);
Effects: Initializes d_ with t.time_since_epoch().

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant