Open gonzalobg opened 5 months ago
clang 18 doesn't support CTAD well for atomic_ref, see: https://github.com/UoB-HPC/Barnes-Hut/pull/5#discussion_r1648117889 . So we spell the type out as a workaround, i.e., atomic_ref<T>{ref} instead of just atomic_ref{ref}.
atomic_ref<T>{ref}
atomic_ref{ref}
Once clang-19 releases in August, we can clean this up.
clang 18 doesn't support CTAD well for atomic_ref, see: https://github.com/UoB-HPC/Barnes-Hut/pull/5#discussion_r1648117889 . So we spell the type out as a workaround, i.e.,
atomic_ref<T>{ref}
instead of justatomic_ref{ref}
.Once clang-19 releases in August, we can clean this up.