cplusplus / nbballot

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

US357 31.07.2 Fix notes for atomic/_ref<bool> #353

Closed wg21bot closed 4 years ago

wg21bot commented 4 years ago

31.07.2 [atomics.ref.int] 31.8.2 [atomics.types.int]

The note at the end of [atomics.ref.int] (31.7.2) paragraph 1: [ Note: For the specialization atomic_ref<bool>, see 31.7. — end note ] refers to atomics.ref.generic. There is no mention of atomic_ref<bool> in that subclause, so the reason for the cross reference is not obvious. The note at the end of [atomics.types.int] (31.8.2) paragraph 1: [ Note: For the specialization atomic<bool>, see 31.8. -- end note ] has a similar issue. [atomics.types.generic] (31.8) does mention atomic<bool>, but not in a way that makes the reason for the cross reference obvious.

Proposed change: Change the note at the end of [atomics.ref.int] (31.7.2) paragraph 1 as follows: [ Note: For the specialization atomic_ref<bool>, see 31.7. — end note ] [ Note: The specialization atomic_ref<bool> is based on the primary template ([atomic.ref.generic]), and is not included among the integer-specific specializations. — end note ] Change the note at the end of [atomics.types.int] (31.8.2) paragraph 1 as follows: [ Note: For the specialization atomic<bool>, see 31.8. -- end note ] [ Note: The specialization atomic<bool> is based on the primary template ([atomics.types.generic]), and is not included among the integer-specific specializations. -- end note ]

jensmaurer commented 4 years ago

Editorial meeing: Say "... uses the primary template."

Accepted with modification.