cplusplus / nbballot

Handling of NB comments in response to ballots
14 stars 4 forks source link

US358 31.07.3 [atomics.ref. float] #354

Closed wg21bot closed 4 years ago

wg21bot commented 4 years ago

In the atomic_ref<floating-point> synopsis in [atomic.ref.float] (31.7.3) paragraph 1:

floating-point operator=(floating-point) noexcept;

should be a const member function, like all other atomic_ref<T> assignment operators.

Proposed change: Change the atomic_ref<floating-point> synopsis in [atomic.ref.float] (31.7.3) paragraph 1 as follows:

floating-point operator=(floating-point) const noexcept;
jwakely commented 4 years ago

Reviewed by LWG small group on Monday morning.

ogiroux commented 4 years ago

Recommend to make notify_one, notify_all, and operator=(float) of atomic_ref const, in response to US 358 and US 355: SF F N A SA Unanimous consent

mclow commented 4 years ago

Resolved by the adoption of P1960

jensmaurer commented 4 years ago

Accepted.