2988. Clause 32 cleanup missed one typename

Section: 32.2 [atomics.syn] Status: WP Submitter: Jens Maurer Opened: 2017-06-25 Last modified: 2017-11-13

Priority: 0

View all other issues in [atomics.syn].

View all issues with WP 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.

  1. Edit 32.2 [atomics.syn], header <atomic> synopsis, as indicated:

    template<class T>
    T atomic_exchange(volatile atomic<T>*, typename atomic<T>::value_type) noexcept;