Skip to content

Commit 3ba8b56

Browse files
committed
[atomics.types.generic] Remove note that tries to encourage
implementations to use the same size for atomic<T> as for T. It's not appropriate for a note to contain "should" or implementation encouragement of this kind. It's also bad advice.
1 parent e23cbb5 commit 3ba8b56

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

source/atomics.tex

+5-3
Original file line numberDiff line numberDiff line change
@@ -1358,9 +1358,11 @@
13581358
The specialization \tcode{atomic<bool>} is a standard-layout struct.
13591359

13601360
\pnum
1361-
\begin{note} The representation of an atomic specialization need not have the same size as its
1362-
corresponding argument type. Specializations should have the same size whenever possible, as
1363-
this reduces the effort required to port existing code. \end{note}
1361+
\begin{note}
1362+
The representation of an atomic specialization
1363+
need not have the same size and alignment requirement as
1364+
its corresponding argument type.
1365+
\end{note}
13641366

13651367
\rSec2[atomics.types.operations]{Operations on atomic types}
13661368

0 commit comments

Comments
 (0)