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

John Sheu via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 21 08:19:00 PDT 2025


johnsheu wrote:

> 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.

Thank you for the update!  I agree also with your conclusions, obviously!

I'm unfamiliar with the LWG working process and would greatly appreciate it if you could keep me in the loop as a learning experience.  Thank you!

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


More information about the libcxx-commits mailing list