3 ms·
> memory_order::relaxed < cv_status::timeout is true No it isn't. https://godbolt.org/z/bz7EhMhMT https://godbolt.org/z/bz7EhMhMT
by tcbrindle 2y ago
> memory_order::relaxed < cv_status::timeout is true
No it isn't. https://godbolt.org/z/bz7EhMhMT https://godbolt.org/z/bz7EhMhMT
- tialaramex 2y agoI knew I should have checked that in Godbolt before posting it. You're correct, the types don't coerce and so this actually doesn't work.