[libcxx-commits] [libcxx] [libc++] Clarify clock behavior before epoch (LWG 3318) (PR #144697)

Benedek Kaibas via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 19 01:11:09 PDT 2025


================
@@ -420,6 +430,8 @@ template<class charT, class traits, class Duration>     // C++20
   basic_ostream<charT, traits>&
     operator<<(basic_ostream<charT, traits>& os, const file_time<Duration>& tp);
 
+/// The class steady_clock is monotonic and it does not support negative time points.
+/// Wheter it supports time before its epoch is unspecified.
----------------
benedekaibas wrote:

Thank you! I'll make the changes based on your suggestions!

https://github.com/llvm/llvm-project/pull/144697


More information about the libcxx-commits mailing list