[libcxx-commits] [libcxx] [libcxx] Implementation of P1831R1 (PR #101439)

Josh Karns via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 31 20:10:12 PDT 2024


jkarns275 wrote:

> > * Remove volatile variants of `tuple_size`, `tuple_element`, `variant_size`, and `variant_alternative`.
> > * Require that the volatile overload of many methods of `atomic<T>` require that `atomic<T>::is_always_lock_free` is true.
> 
> You misread the paper. The paper didn't remove anything. It just conditionally deprecated some components.

You are right... I've reverted and simply deprecated the functions instead. Figuring out how to test for deprecation warnings now :)

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


More information about the libcxx-commits mailing list