typename
Section: 32.5.2 [atomics.syn] Status: C++20 Submitter: Jens Maurer Opened: 2017-06-25 Last modified: 2021-02-25
Priority: 0
View other active issues in [atomics.syn].
View all other issues in [atomics.syn].
View all issues with C++20 status.
Discussion:
P0558R1 missed updating one of the std::atomic_exchange
signatures to avoid independent deduction for T
on the second parameter.
[ 2017-06-26 Moved to Tentatively Ready after 6 positive votes on c++std-lib. ]
Proposed resolution:
This wording is relative to N4659.
Edit 32.5.2 [atomics.syn], header <atomic>
synopsis, as indicated:
template<class T> T atomic_exchange(volatile atomic<T>*, typename atomic<T>::value_type) noexcept;