C++ Logo

std-proposals

Advanced search

Re: [std-proposals] constexpr support for std::chrono::system_clock

From: Bjorn Reese <breese_at_[hidden]>
Date: Fri, 7 Mar 2025 01:48:35 +0100
On 3/7/25 01:32, Nikolaos D. Bougalis via Std-Proposals wrote:

> The proposal briefly discusses that. I don't think having a separate function makes sense.

Consider a new clock type. This is how other "time source" are handled
(e.g. utc_clock, file_clock, gps_clock.) Even if you disagree, the
proposal ought to discuss this alternative.

Received on 2025-03-07 00:48:38