https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105934

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Created attachment 53127
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53127&action=edit
Restore atomic_fetch_{add,sub} partial specializations for pointers

This patch restores the partial specializations for pointers for C++11 and
C++14 modes. It also changes the atomic<T>::value_type parameters to use
type_identity_t<T> instead, which avoids the problematic instantiation of
atomic<shared_ptr<Base>>. This fixes both issues described above.

Reply via email to