You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
template<class T>
T atomic_exchange(volatile atomic<T>*, T) noexcept;
the second "T" should actually be typename atomic<T>::value_type to avoid deduction for that parameter. The neighbor overload (without volatile) has it correct. This is a bug in P558R1.
The text was updated successfully, but these errors were encountered:
In
the second "T" should actually be
typename atomic<T>::value_type
to avoid deduction for that parameter. The neighbor overload (without volatile) has it correct. This is a bug in P558R1.The text was updated successfully, but these errors were encountered: