[libcxx-commits] [libcxx] [libc++] Save duration/timeout locally for condition_variable waits (PR #148330)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 18 11:01:27 PDT 2025


https://github.com/ldionne commented:

I just had a discussion with @huixie90 about this. We both agree that the spec should explicitly take these `time_point`s by value instead of by reference. Hui will file a LWG issue about it. I would like to do this and consider it a DR -- it's not an ABI break for us and it seems like the simplest and most self-documenting way to handle this. CC @jwakely

Let's wait until we have a LWG issue and see whether there's appetite for moving to by-value.

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


More information about the libcxx-commits mailing list