[libcxx-commits] [libcxx] [libc++][In progress] Floating Point Atomic (PR #67799)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 13 11:06:37 PDT 2023
================
@@ -136,6 +140,111 @@ struct atomic<_Tp*>
atomic& operator=(const atomic&) volatile = delete;
};
+#if _LIBCPP_STD_VER >= 20
+template <class _Tp>
+ requires is_floating_point_v<_Tp>
+struct atomic<_Tp> : public __atomic_base<_Tp> {
----------------
ldionne wrote:
`public` not required since this is a struct!
https://github.com/llvm/llvm-project/pull/67799
More information about the libcxx-commits
mailing list